Socket
Socket
Sign inDemoInstall

@fluentui/theme

Package Overview
Dependencies
Maintainers
8
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/theme - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

lib-amd/createTheme.d.ts

23

CHANGELOG.json

@@ -5,3 +5,24 @@ {

{
"date": "Wed, 23 Sep 2020 12:22:41 GMT",
"date": "Fri, 25 Sep 2020 12:21:26 GMT",
"tag": "@fluentui/theme_v1.2.0",
"version": "1.2.0",
"comments": {
"minor": [
{
"comment": "Move AnimationStyles code from styling package to theme package.",
"author": "xgao@microsoft.com",
"commit": "7f1767d9469a917dcea9dbe3142c8fef3a36b8ad",
"package": "@fluentui/theme"
},
{
"comment": "Move createTheme from styling to theme package.",
"author": "xgao@microsoft.com",
"commit": "74e9fef29a1571489b8d46361dc503872d00d56d",
"package": "@fluentui/theme"
}
]
}
},
{
"date": "Wed, 23 Sep 2020 12:27:48 GMT",
"tag": "@fluentui/theme_v1.1.0",

@@ -8,0 +29,0 @@ "version": "1.1.0",

# Change Log - @fluentui/theme
This log was last generated on Wed, 23 Sep 2020 12:22:41 GMT and should not be manually modified.
This log was last generated on Fri, 25 Sep 2020 12:21:26 GMT and should not be manually modified.
<!-- Start content -->
## [1.2.0](https://github.com/microsoft/fluentui/tree/@fluentui/theme_v1.2.0)
Fri, 25 Sep 2020 12:21:26 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/theme_v1.1.0..@fluentui/theme_v1.2.0)
### Minor changes
- Move AnimationStyles code from styling package to theme package. ([PR #15162](https://github.com/microsoft/fluentui/pull/15162) by xgao@microsoft.com)
- Move createTheme from styling to theme package. ([PR #15163](https://github.com/microsoft/fluentui/pull/15163) by xgao@microsoft.com)
## [1.1.0](https://github.com/microsoft/fluentui/tree/@fluentui/theme_v1.1.0)
Wed, 23 Sep 2020 12:22:41 GMT
Wed, 23 Sep 2020 12:27:48 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/theme_v0.4.0..@fluentui/theme_v1.1.0)

@@ -11,0 +21,0 @@

@@ -6,2 +6,13 @@ import { IFontWeight } from '@uifabric/merge-styles';

/**
* All Fabric standard animations, exposed as json objects referencing predefined
* keyframes. These objects can be mixed in with other class definitions.
*/
export declare const AnimationStyles: IAnimationStyles;
/**
* Exporting raw duraction values and easing functions to be used in custom animations
*/
export declare const AnimationVariables: IAnimationVariables;
/**
* A baseline set of color plates.

@@ -72,2 +83,9 @@ */

/**
* Creates a custom theme definition which can be used with the Customizer.
* @param theme - Partial theme object.
* @param depComments - Whether to include deprecated tags as comments for deprecated slots.
*/
export declare function createTheme(theme: IPartialTheme, depComments?: boolean): ITheme;
export declare const DefaultEffects: IEffects;

@@ -123,2 +141,57 @@

/**
* All Fabric standard animations, exposed as json objects referencing predefined
* keyframes. These objects can be mixed in with other class definitions.
* {@docCategory IAnimationStyles}
*/
export declare interface IAnimationStyles {
slideRightIn10: IRawStyle;
slideRightIn20: IRawStyle;
slideRightIn40: IRawStyle;
slideRightIn400: IRawStyle;
slideLeftIn10: IRawStyle;
slideLeftIn20: IRawStyle;
slideLeftIn40: IRawStyle;
slideLeftIn400: IRawStyle;
slideUpIn10: IRawStyle;
slideUpIn20: IRawStyle;
slideDownIn10: IRawStyle;
slideDownIn20: IRawStyle;
slideRightOut10: IRawStyle;
slideRightOut20: IRawStyle;
slideRightOut40: IRawStyle;
slideRightOut400: IRawStyle;
slideLeftOut10: IRawStyle;
slideLeftOut20: IRawStyle;
slideLeftOut40: IRawStyle;
slideLeftOut400: IRawStyle;
slideUpOut10: IRawStyle;
slideUpOut20: IRawStyle;
slideDownOut10: IRawStyle;
slideDownOut20: IRawStyle;
scaleUpIn100: IRawStyle;
scaleDownIn100: IRawStyle;
scaleUpOut103: IRawStyle;
scaleDownOut98: IRawStyle;
fadeIn100: IRawStyle;
fadeIn200: IRawStyle;
fadeIn400: IRawStyle;
fadeIn500: IRawStyle;
fadeOut100: IRawStyle;
fadeOut200: IRawStyle;
fadeOut400: IRawStyle;
fadeOut500: IRawStyle;
rotate90deg: IRawStyle;
rotateN90deg: IRawStyle;
}
export declare interface IAnimationVariables {
easeFunction1: string;
easeFunction2: string;
durationValue1: string;
durationValue2: string;
durationValue3: string;
durationValue4: string;
}
export declare namespace IconFontSizes {

@@ -125,0 +198,0 @@ const xSmall: string;

@@ -12,2 +12,8 @@ ## API Report File for "@fluentui/theme"

// @public
export const AnimationStyles: IAnimationStyles;
// @public
export const AnimationVariables: IAnimationVariables;
// @public
export type ColorTokens = Partial<{

@@ -70,2 +76,5 @@ background: string;

// @public
export function createTheme(theme: IPartialTheme, depComments?: boolean): ITheme;
// @public (undocumented)

@@ -160,3 +169,99 @@ export const DefaultEffects: IEffects;

// @public
export interface IAnimationStyles {
// (undocumented)
fadeIn100: IRawStyle;
// (undocumented)
fadeIn200: IRawStyle;
// (undocumented)
fadeIn400: IRawStyle;
// (undocumented)
fadeIn500: IRawStyle;
// (undocumented)
fadeOut100: IRawStyle;
// (undocumented)
fadeOut200: IRawStyle;
// (undocumented)
fadeOut400: IRawStyle;
// (undocumented)
fadeOut500: IRawStyle;
// (undocumented)
rotate90deg: IRawStyle;
// (undocumented)
rotateN90deg: IRawStyle;
// (undocumented)
scaleDownIn100: IRawStyle;
// (undocumented)
scaleDownOut98: IRawStyle;
// (undocumented)
scaleUpIn100: IRawStyle;
// (undocumented)
scaleUpOut103: IRawStyle;
// (undocumented)
slideDownIn10: IRawStyle;
// (undocumented)
slideDownIn20: IRawStyle;
// (undocumented)
slideDownOut10: IRawStyle;
// (undocumented)
slideDownOut20: IRawStyle;
// (undocumented)
slideLeftIn10: IRawStyle;
// (undocumented)
slideLeftIn20: IRawStyle;
// (undocumented)
slideLeftIn40: IRawStyle;
// (undocumented)
slideLeftIn400: IRawStyle;
// (undocumented)
slideLeftOut10: IRawStyle;
// (undocumented)
slideLeftOut20: IRawStyle;
// (undocumented)
slideLeftOut40: IRawStyle;
// (undocumented)
slideLeftOut400: IRawStyle;
// (undocumented)
slideRightIn10: IRawStyle;
// (undocumented)
slideRightIn20: IRawStyle;
// (undocumented)
slideRightIn40: IRawStyle;
// (undocumented)
slideRightIn400: IRawStyle;
// (undocumented)
slideRightOut10: IRawStyle;
// (undocumented)
slideRightOut20: IRawStyle;
// (undocumented)
slideRightOut40: IRawStyle;
// (undocumented)
slideRightOut400: IRawStyle;
// (undocumented)
slideUpIn10: IRawStyle;
// (undocumented)
slideUpIn20: IRawStyle;
// (undocumented)
slideUpOut10: IRawStyle;
// (undocumented)
slideUpOut20: IRawStyle;
}
// @public (undocumented)
export interface IAnimationVariables {
// (undocumented)
durationValue1: string;
// (undocumented)
durationValue2: string;
// (undocumented)
durationValue3: string;
// (undocumented)
durationValue4: string;
// (undocumented)
easeFunction1: string;
// (undocumented)
easeFunction2: string;
}
// @public (undocumented)
export namespace IconFontSizes {

@@ -163,0 +268,0 @@ const // (undocumented)

3

lib-amd/index.d.ts

@@ -6,3 +6,4 @@ export * from './mergeThemes';

export * from './spacing/index';
export * from './motions/index';
export * from './motion/index';
export * from './fonts/index';
export * from './createTheme';

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

define(["require", "exports", "tslib", "./mergeThemes", "./colors/index", "./effects/index", "./spacing/index", "./motions/index", "./fonts/index"], function (require, exports, tslib_1, mergeThemes_1, index_1, index_2, index_3, index_4, index_5) {
define(["require", "exports", "tslib", "./mergeThemes", "./colors/index", "./effects/index", "./spacing/index", "./motion/index", "./fonts/index", "./createTheme"], function (require, exports, tslib_1, mergeThemes_1, index_1, index_2, index_3, index_4, index_5, createTheme_1) {
"use strict";

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

tslib_1.__exportStar(index_5, exports);
tslib_1.__exportStar(createTheme_1, exports);
});
//# sourceMappingURL=index.js.map

@@ -7,3 +7,4 @@ export { IEffects } from './IEffects';

export { ISpacing } from './ISpacing';
export { IAnimationStyles, IAnimationVariables } from './IAnimationStyles';
export { ITheme, IPartialTheme, IScheme, ISchemeNames } from './ITheme';
export * from './Theme';
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', '1.1.0');
set_version_1.setVersion('@fluentui/theme', '1.2.0');
});
//# sourceMappingURL=version.js.map

@@ -6,3 +6,4 @@ export * from './mergeThemes';

export * from './spacing/index';
export * from './motions/index';
export * from './motion/index';
export * from './fonts/index';
export * from './createTheme';

@@ -8,4 +8,5 @@ "use strict";

tslib_1.__exportStar(require("./spacing/index"), exports);
tslib_1.__exportStar(require("./motions/index"), exports);
tslib_1.__exportStar(require("./motion/index"), exports);
tslib_1.__exportStar(require("./fonts/index"), exports);
tslib_1.__exportStar(require("./createTheme"), exports);
//# sourceMappingURL=index.js.map

@@ -7,3 +7,4 @@ export { IEffects } from './IEffects';

export { ISpacing } from './ISpacing';
export { IAnimationStyles, IAnimationVariables } from './IAnimationStyles';
export { ITheme, IPartialTheme, IScheme, ISchemeNames } from './ITheme';
export * from './Theme';

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

var set_version_1 = require("@uifabric/set-version");
set_version_1.setVersion('@fluentui/theme', '1.1.0');
set_version_1.setVersion('@fluentui/theme', '1.2.0');
//# sourceMappingURL=version.js.map

@@ -6,3 +6,4 @@ export * from './mergeThemes';

export * from './spacing/index';
export * from './motions/index';
export * from './motion/index';
export * from './fonts/index';
export * from './createTheme';

@@ -5,4 +5,5 @@ export * from './mergeThemes';

export * from './spacing/index';
export * from './motions/index';
export * from './motion/index';
export * from './fonts/index';
export * from './createTheme';
//# sourceMappingURL=index.js.map

@@ -7,3 +7,4 @@ export { IEffects } from './IEffects';

export { ISpacing } from './ISpacing';
export { IAnimationStyles, IAnimationVariables } from './IAnimationStyles';
export { ITheme, IPartialTheme, IScheme, ISchemeNames } from './ITheme';
export * from './Theme';
// 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', '1.1.0');
setVersion('@fluentui/theme', '1.2.0');
//# sourceMappingURL=version.js.map
{
"name": "@fluentui/theme",
"version": "1.1.0",
"version": "1.2.0",
"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

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