Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@uifabric/merge-styles

Package Overview
Dependencies
Maintainers
2
Versions
193
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uifabric/merge-styles - npm Package Compare versions

Comparing version 5.0.0 to 5.1.0

CHANGELOG.json

0

config/api-extractor.json

@@ -0,0 +0,0 @@ {

@@ -889,2 +889,3 @@ var MergeStyles =

if (cssSet.hasOwnProperty(prop)) {
// tslint:disable-next-line:no-any
classNameSet[prop] = mergeStyles_1.mergeStyles(cssSet[prop]);

@@ -891,0 +892,0 @@ }

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ define(["require", "exports"], function (require, exports) {

@@ -0,0 +0,0 @@ import { IFontFace } from './IRawStyleBase';

@@ -0,0 +0,0 @@ define(["require", "exports", "./Stylesheet", "./styleToClassName"], function (require, exports, Stylesheet_1, styleToClassName_1) {

@@ -0,0 +0,0 @@ export interface IVendorSettings {

@@ -0,0 +0,0 @@ define(["require", "exports"], function (require, exports) {

@@ -0,0 +0,0 @@ export { IRawStyle, IStyle } from './IStyle';

@@ -0,0 +0,0 @@ define(["require", "exports", "./mergeStyles", "./mergeStyleSets", "./concatStyleSets", "./fontFace", "./keyframes", "./Stylesheet"], function (require, exports, mergeStyles_1, mergeStyleSets_1, concatStyleSets_1, fontFace_1, keyframes_1, Stylesheet_1) {

@@ -0,0 +0,0 @@ define(["require", "exports"], function (require, exports) {

@@ -0,0 +0,0 @@ import { IRawStyleBase } from './IRawStyleBase';

@@ -0,0 +0,0 @@ define(["require", "exports"], function (require, exports) {

@@ -0,0 +0,0 @@ import { IStyle } from './IStyle';

@@ -0,0 +0,0 @@ define(["require", "exports"], function (require, exports) {

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ define(["require", "exports", "./Stylesheet", "./styleToClassName"], function (require, exports, Stylesheet_1, styleToClassName_1) {

@@ -0,0 +0,0 @@ import { IStyle } from './IStyle';

@@ -0,0 +0,0 @@ define(["require", "exports", "./styleToClassName", "./Stylesheet"], function (require, exports, styleToClassName_1, Stylesheet_1) {

7

lib-amd/mergeStyleSets.d.ts

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

import { IStyle } from './IStyle';
/**

@@ -7,4 +8,4 @@ * Allows you to pass in 1 or more sets of areas which will return a merged

*/
export declare function mergeStyleSets<T extends object>(...cssSets: (T | false | null | undefined)[]): {
[P in keyof T]?: string;
};
export declare function mergeStyleSets<T>(...cssSets: ({
[P in keyof T]?: IStyle;
} | false | null | undefined)[]): T;

@@ -23,2 +23,3 @@ define(["require", "exports", "./mergeStyles", "./concatStyleSets"], function (require, exports, mergeStyles_1, concatStyleSets_1) {

if (cssSet.hasOwnProperty(prop)) {
// tslint:disable-next-line:no-any
classNameSet[prop] = mergeStyles_1.mergeStyles(cssSet[prop]);

@@ -25,0 +26,0 @@ }

@@ -0,0 +0,0 @@ export declare function renderStatic(onRender: () => string): {

@@ -0,0 +0,0 @@ define(["require", "exports", "./Stylesheet"], function (require, exports, Stylesheet_1) {

@@ -0,0 +0,0 @@ import { IStyle } from './IStyle';

@@ -0,0 +0,0 @@ define(["require", "exports", "tslib"], function (require, exports, tslib_1) {

@@ -0,0 +0,0 @@ import { IStyle } from './IStyle';

@@ -0,0 +0,0 @@ define(["require", "exports", "./transforms/rtlifyRules", "./transforms/provideUnits", "./transforms/prefixRules", "./transforms/kebabRules", "./Stylesheet"], function (require, exports, rtlifyRules_1, provideUnits_1, prefixRules_1, kebabRules_1, Stylesheet_1) {

export declare function kebabRules(rulePairs: (string | number)[], index: number): void;

@@ -0,0 +0,0 @@ define(["require", "exports"], function (require, exports) {

export declare function prefixRules(rulePairs: (string | number)[], index: number): void;

@@ -0,0 +0,0 @@ define(["require", "exports", "../getVendorSettings"], function (require, exports, getVendorSettings_1) {

export declare function provideUnits(rulePairs: (string | number)[], index: number): void;

@@ -0,0 +0,0 @@ define(["require", "exports"], function (require, exports) {

export declare function setRTL(isRTL: boolean): void;
export declare function getRTL(): boolean;
export declare function rtlifyRules(rulePairs: (string | number)[], index: number): void;

@@ -0,0 +0,0 @@ define(["require", "exports"], function (require, exports) {

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { IFontFace } from './IRawStyleBase';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export interface IVendorSettings {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export { IRawStyle, IStyle } from './IStyle';

@@ -0,0 +0,0 @@ "use strict";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=IRawStyleBase.js.map

@@ -0,0 +0,0 @@ import { IRawStyleBase } from './IRawStyleBase';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=IStyle.js.map

@@ -0,0 +0,0 @@ import { IStyle } from './IStyle';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=IStyleSet.js.map

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { IStyle } from './IStyle';

@@ -0,0 +0,0 @@ "use strict";

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

import { IStyle } from './IStyle';
/**

@@ -7,4 +8,4 @@ * Allows you to pass in 1 or more sets of areas which will return a merged

*/
export declare function mergeStyleSets<T extends object>(...cssSets: (T | false | null | undefined)[]): {
[P in keyof T]?: string;
};
export declare function mergeStyleSets<T>(...cssSets: ({
[P in keyof T]?: IStyle;
} | false | null | undefined)[]): T;

@@ -24,2 +24,3 @@ "use strict";

if (cssSet.hasOwnProperty(prop)) {
// tslint:disable-next-line:no-any
classNameSet[prop] = mergeStyles_1.mergeStyles(cssSet[prop]);

@@ -26,0 +27,0 @@ }

@@ -0,0 +0,0 @@ export declare function renderStatic(onRender: () => string): {

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { IStyle } from './IStyle';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { IStyle } from './IStyle';

@@ -0,0 +0,0 @@ "use strict";

export declare function kebabRules(rulePairs: (string | number)[], index: number): void;

@@ -0,0 +0,0 @@ "use strict";

export declare function prefixRules(rulePairs: (string | number)[], index: number): void;

@@ -0,0 +0,0 @@ "use strict";

export declare function provideUnits(rulePairs: (string | number)[], index: number): void;

@@ -0,0 +0,0 @@ "use strict";

export declare function setRTL(isRTL: boolean): void;
export declare function getRTL(): boolean;
export declare function rtlifyRules(rulePairs: (string | number)[], index: number): void;

@@ -0,0 +0,0 @@ "use strict";

@@ -24,7 +24,7 @@ {

"packages/merge-styles/src/keyframes.ts": "fec40daa0e921e7027b2f05687b2a679cd4bff90",
"packages/merge-styles/src/mergeStyleSets.test.ts": "55d20b51755e71e1b75a63c2565920f83de1a6c1",
"packages/merge-styles/src/mergeStyleSets.ts": "7bbf43d3307047635844a89cd1ac3410c581c975",
"packages/merge-styles/src/mergeStyleSets.test.ts": "19aef16a668936c53a0e3c20ec644477dee66770",
"packages/merge-styles/src/mergeStyleSets.ts": "06401c4b50dee7b4b34d1df24a7755bf1c556224",
"packages/merge-styles/src/mergeStyles.test.ts": "39a19e4329d106c7efeb87b4c37de7384e6647be",
"packages/merge-styles/src/mergeStyles.ts": "09b82fdb7c0c2671f9e4235a873fc6ca048c66ba",
"packages/merge-styles/src/server.test.ts": "65179847b1a0f528afaaf223bd11364183d4839d",
"packages/merge-styles/src/server.test.ts": "4c56d963323af95122b23d8286b316da9a211053",
"packages/merge-styles/src/server.ts": "6039007617198b1470dd941a097a63e210825f47",

@@ -31,0 +31,0 @@ "packages/merge-styles/src/styleToClassName.test.ts": "948074097379a6d9c457cb9d1fe9a5f66827d640",

{
"name": "@uifabric/merge-styles",
"version": "5.0.0",
"version": "5.1.0",
"description": "Office UI Fabric style loading utilities.",

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

@@ -0,0 +0,0 @@ # [merge-styles](http://dev.office.com/fabric)

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 too big to display

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 too big to display

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 too big to display

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