@uifabric/merge-styles
Advanced tools
Comparing version 6.0.1 to 6.0.2
@@ -5,2 +5,16 @@ { | ||
{ | ||
"version": "6.0.2", | ||
"tag": "@uifabric/merge-styles_v6.0.2", | ||
"date": "Tue, 05 Jun 2018 00:44:30 GMT", | ||
"comments": { | ||
"patch": [ | ||
{ | ||
"author": "Mark Polak <mark@thedutchies.com>", | ||
"commit": "cfa7a19ec1d6f98c13f822a828e0751f64507dbd", | ||
"comment": "Added Prettier" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"version": "6.0.1", | ||
@@ -7,0 +21,0 @@ "tag": "@uifabric/merge-styles_v6.0.1", |
# Change Log - @uifabric/merge-styles | ||
This log was last generated on Mon, 04 Jun 2018 10:16:13 GMT and should not be manually modified. | ||
This log was last generated on Tue, 05 Jun 2018 00:44:30 GMT and should not be manually modified. | ||
## 6.0.2 | ||
Tue, 05 Jun 2018 00:44:30 GMT | ||
### Patches | ||
- Added Prettier | ||
## 6.0.1 | ||
@@ -6,0 +13,0 @@ Mon, 04 Jun 2018 10:16:13 GMT |
@@ -6,2 +6,2 @@ { | ||
"entry": "src/index.ts" | ||
} | ||
} |
@@ -384,11 +384,11 @@ var MergeStyles = | ||
var entry = this._classNameToArgs[className]; | ||
return (entry && entry.args); | ||
return entry && entry.args; | ||
}; | ||
/** | ||
* Gets the arguments associated with a given classname which was | ||
* previously registered using cacheClassName. | ||
*/ | ||
* Gets the arguments associated with a given classname which was | ||
* previously registered using cacheClassName. | ||
*/ | ||
Stylesheet.prototype.insertedRulesFromClassName = function (className) { | ||
var entry = this._classNameToArgs[className]; | ||
return (entry && entry.rules); | ||
return entry && entry.rules; | ||
}; | ||
@@ -891,3 +891,3 @@ /** | ||
function expandQuads(currentRules, name, value) { | ||
var parts = (typeof value === 'string') ? value.split(' ') : [value]; | ||
var parts = typeof value === 'string' ? value.split(' ') : [value]; | ||
currentRules[name + 'Top'] = parts[0]; | ||
@@ -983,3 +983,3 @@ currentRules[name + 'Right'] = parts[1] || parts[0]; | ||
// Insert. Note if a media query, we must close the query with a final bracket. | ||
var processedRule = selector + "{" + rules + "}" + ((selector.indexOf('@media') === 0) ? '}' : ''); | ||
var processedRule = selector + "{" + rules + "}" + (selector.indexOf('@media') === 0 ? '}' : ''); | ||
stylesheet.insertRule(processedRule); | ||
@@ -1079,3 +1079,3 @@ } | ||
if (typeof value === 'number') { | ||
var unit = (NON_PIXEL_NUMBER_PROPS.indexOf(name) === -1) ? 'px' : ''; | ||
var unit = NON_PIXEL_NUMBER_PROPS.indexOf(name) === -1 ? 'px' : ''; | ||
rulePairs[index + 1] = "" + value + unit; | ||
@@ -1125,5 +1125,6 @@ } | ||
if (_rtl === undefined) { | ||
_rtl = (typeof document !== 'undefined' && | ||
!!document.documentElement && | ||
document.documentElement.getAttribute('dir') === 'rtl'); | ||
_rtl = | ||
typeof document !== 'undefined' && | ||
!!document.documentElement && | ||
document.documentElement.getAttribute('dir') === 'rtl'; | ||
} | ||
@@ -1130,0 +1131,0 @@ return _rtl; |
@@ -7,5 +7,5 @@ { | ||
"version": "4.7.0", | ||
"hash": "a2297681c91c354c15ef", | ||
"hash": "d29c62904ed3df8fdb73", | ||
"time": 1573, | ||
"builtAt": 1528106625141, | ||
"builtAt": 1528158787113, | ||
"publicPath": "", | ||
@@ -70,3 +70,3 @@ "outputPath": "D:\\a\\1\\s\\packages\\merge-styles\\dist", | ||
"index2": 14, | ||
"size": 35618, | ||
"size": 35633, | ||
"cacheable": true, | ||
@@ -299,3 +299,3 @@ "built": true, | ||
"index2": 5, | ||
"size": 3127, | ||
"size": 3146, | ||
"cacheable": true, | ||
@@ -341,3 +341,3 @@ "built": true, | ||
"index2": 1, | ||
"size": 6816, | ||
"size": 6818, | ||
"cacheable": true, | ||
@@ -524,3 +524,3 @@ "built": true, | ||
"index2": 8, | ||
"size": 7757, | ||
"size": 7753, | ||
"cacheable": true, | ||
@@ -574,3 +574,3 @@ "built": true, | ||
"index2": 4, | ||
"size": 527, | ||
"size": 525, | ||
"cacheable": true, | ||
@@ -577,0 +577,0 @@ "built": true, |
@@ -84,5 +84,5 @@ import { IStyle } from './IStyle'; | ||
/** | ||
* Gets the arguments associated with a given classname which was | ||
* previously registered using cacheClassName. | ||
*/ | ||
* Gets the arguments associated with a given classname which was | ||
* previously registered using cacheClassName. | ||
*/ | ||
insertedRulesFromClassName(className: string): string[] | undefined; | ||
@@ -89,0 +89,0 @@ /** |
@@ -96,11 +96,11 @@ "use strict"; | ||
var entry = this._classNameToArgs[className]; | ||
return (entry && entry.args); | ||
return entry && entry.args; | ||
}; | ||
/** | ||
* Gets the arguments associated with a given classname which was | ||
* previously registered using cacheClassName. | ||
*/ | ||
* Gets the arguments associated with a given classname which was | ||
* previously registered using cacheClassName. | ||
*/ | ||
Stylesheet.prototype.insertedRulesFromClassName = function (className) { | ||
var entry = this._classNameToArgs[className]; | ||
return (entry && entry.rules); | ||
return entry && entry.rules; | ||
}; | ||
@@ -107,0 +107,0 @@ /** |
@@ -78,3 +78,3 @@ "use strict"; | ||
function expandQuads(currentRules, name, value) { | ||
var parts = (typeof value === 'string') ? value.split(' ') : [value]; | ||
var parts = typeof value === 'string' ? value.split(' ') : [value]; | ||
currentRules[name + 'Top'] = parts[0]; | ||
@@ -172,3 +172,3 @@ currentRules[name + 'Right'] = parts[1] || parts[0]; | ||
// Insert. Note if a media query, we must close the query with a final bracket. | ||
var processedRule = selector + "{" + rules + "}" + ((selector.indexOf('@media') === 0) ? '}' : ''); | ||
var processedRule = selector + "{" + rules + "}" + (selector.indexOf('@media') === 0 ? '}' : ''); | ||
stylesheet.insertRule(processedRule); | ||
@@ -175,0 +175,0 @@ } |
@@ -20,3 +20,3 @@ "use strict"; | ||
if (typeof value === 'number') { | ||
var unit = (NON_PIXEL_NUMBER_PROPS.indexOf(name) === -1) ? 'px' : ''; | ||
var unit = NON_PIXEL_NUMBER_PROPS.indexOf(name) === -1 ? 'px' : ''; | ||
rulePairs[index + 1] = "" + value + unit; | ||
@@ -23,0 +23,0 @@ } |
@@ -32,5 +32,6 @@ "use strict"; | ||
if (_rtl === undefined) { | ||
_rtl = (typeof document !== 'undefined' && | ||
!!document.documentElement && | ||
document.documentElement.getAttribute('dir') === 'rtl'); | ||
_rtl = | ||
typeof document !== 'undefined' && | ||
!!document.documentElement && | ||
document.documentElement.getAttribute('dir') === 'rtl'; | ||
} | ||
@@ -37,0 +38,0 @@ return _rtl; |
@@ -84,5 +84,5 @@ import { IStyle } from './IStyle'; | ||
/** | ||
* Gets the arguments associated with a given classname which was | ||
* previously registered using cacheClassName. | ||
*/ | ||
* Gets the arguments associated with a given classname which was | ||
* previously registered using cacheClassName. | ||
*/ | ||
insertedRulesFromClassName(className: string): string[] | undefined; | ||
@@ -89,0 +89,0 @@ /** |
@@ -94,11 +94,11 @@ import * as tslib_1 from "tslib"; | ||
var entry = this._classNameToArgs[className]; | ||
return (entry && entry.args); | ||
return entry && entry.args; | ||
}; | ||
/** | ||
* Gets the arguments associated with a given classname which was | ||
* previously registered using cacheClassName. | ||
*/ | ||
* Gets the arguments associated with a given classname which was | ||
* previously registered using cacheClassName. | ||
*/ | ||
Stylesheet.prototype.insertedRulesFromClassName = function (className) { | ||
var entry = this._classNameToArgs[className]; | ||
return (entry && entry.rules); | ||
return entry && entry.rules; | ||
}; | ||
@@ -105,0 +105,0 @@ /** |
@@ -76,3 +76,3 @@ import { Stylesheet } from './Stylesheet'; | ||
function expandQuads(currentRules, name, value) { | ||
var parts = (typeof value === 'string') ? value.split(' ') : [value]; | ||
var parts = typeof value === 'string' ? value.split(' ') : [value]; | ||
currentRules[name + 'Top'] = parts[0]; | ||
@@ -168,3 +168,3 @@ currentRules[name + 'Right'] = parts[1] || parts[0]; | ||
// Insert. Note if a media query, we must close the query with a final bracket. | ||
var processedRule = selector + "{" + rules + "}" + ((selector.indexOf('@media') === 0) ? '}' : ''); | ||
var processedRule = selector + "{" + rules + "}" + (selector.indexOf('@media') === 0 ? '}' : ''); | ||
stylesheet.insertRule(processedRule); | ||
@@ -171,0 +171,0 @@ } |
@@ -18,3 +18,3 @@ var NON_PIXEL_NUMBER_PROPS = [ | ||
if (typeof value === 'number') { | ||
var unit = (NON_PIXEL_NUMBER_PROPS.indexOf(name) === -1) ? 'px' : ''; | ||
var unit = NON_PIXEL_NUMBER_PROPS.indexOf(name) === -1 ? 'px' : ''; | ||
rulePairs[index + 1] = "" + value + unit; | ||
@@ -21,0 +21,0 @@ } |
@@ -29,5 +29,6 @@ import { Stylesheet } from '../Stylesheet'; | ||
if (_rtl === undefined) { | ||
_rtl = (typeof document !== 'undefined' && | ||
!!document.documentElement && | ||
document.documentElement.getAttribute('dir') === 'rtl'); | ||
_rtl = | ||
typeof document !== 'undefined' && | ||
!!document.documentElement && | ||
document.documentElement.getAttribute('dir') === 'rtl'; | ||
} | ||
@@ -34,0 +35,0 @@ return _rtl; |
@@ -5,47 +5,47 @@ { | ||
"packages/merge-styles/.npmrc": "825c83e09df4dad076d980d1236c532d689edf75", | ||
"packages/merge-styles/CHANGELOG.json": "48a32551f09905c07b25d4a679c88aa92efbbb72", | ||
"packages/merge-styles/CHANGELOG.md": "c850f03e8b658796ce582a0200cbdbddddb194fc", | ||
"packages/merge-styles/CHANGELOG.json": "e4dc7cb664dc6f990f303fd8b5f4e1dbd3a4f498", | ||
"packages/merge-styles/CHANGELOG.md": "2cb2d48f37963e92951078ad34b3428022813cd6", | ||
"packages/merge-styles/LICENSE": "310f6231e35c591f17680ffd2f5d4daea754e1f6", | ||
"packages/merge-styles/README.md": "fc32e85be9982fed863717c73e5dcbe5c3d35725", | ||
"packages/merge-styles/api/merge-styles.api.ts": "eb475fd14c0c8dd11f2ff40a75a4f06d2095f2b7", | ||
"packages/merge-styles/config/api-extractor.json": "9c294e8c13388f8d28d5aa10408fc68cf74723be", | ||
"packages/merge-styles/config/api-extractor.json": "c80d7e71fe0db4f027dfbe1caa273e043477db15", | ||
"packages/merge-styles/jest.config.js": "a92c71220a900a5366be5af2cb98d273f3b697d4", | ||
"packages/merge-styles/package.json": "f0da6ce1f7bd710842b10a3383e45792be50da0b", | ||
"packages/merge-styles/src/IRawStyleBase.ts": "ce010c03c17aa370f370af8de08e9fda2579ae2e", | ||
"packages/merge-styles/src/IStyle.ts": "770aa641a178f4ade3e75c36c663919cb65d00f9", | ||
"packages/merge-styles/package.json": "e8a02ea9e3102ea92aa6da5a1b0fdae0447c6ec6", | ||
"packages/merge-styles/src/IRawStyleBase.ts": "42ccb532e6d9203dbab932451819f7d79efa57e2", | ||
"packages/merge-styles/src/IStyle.ts": "5fc3c158746f44f7d69088e45475408ced71f853", | ||
"packages/merge-styles/src/IStyleSet.ts": "82926ab5b49a81a0b4e55f47b1f03f55bdbb4a9e", | ||
"packages/merge-styles/src/Stylesheet.test.ts": "cdc9f0c02bc50acd2b6a27baf555609e6f2326b9", | ||
"packages/merge-styles/src/Stylesheet.ts": "f86b551edd5c909c61443419b6eae917227b20da", | ||
"packages/merge-styles/src/concatStyleSets.test.ts": "2e39f2d1305f051655db238528fc50796646187a", | ||
"packages/merge-styles/src/concatStyleSets.ts": "98b314a88176cc61f444042c0c49b364d00c277e", | ||
"packages/merge-styles/src/extractStyleParts.test.ts": "5e8bd60ee690ceca5b7bf008c6b3b7c941d65bef", | ||
"packages/merge-styles/src/extractStyleParts.ts": "e05e9dd11dfb85f4548e7198e13e2a845122ecfe", | ||
"packages/merge-styles/src/fontFace.test.ts": "3aab715c8659b3d20b461bf7b35ebe62dc675009", | ||
"packages/merge-styles/src/Stylesheet.test.ts": "a294d43b1c057d2ef56b97a1f7ab04eb09fddba3", | ||
"packages/merge-styles/src/Stylesheet.ts": "9476ee232da03dce5943591cf00f045a956ffad7", | ||
"packages/merge-styles/src/concatStyleSets.test.ts": "f075d311b047cfa6f38da4229231dedc6983dbbe", | ||
"packages/merge-styles/src/concatStyleSets.ts": "7230dd7306bc74b6e5d1758ba47a214d14b4a7a6", | ||
"packages/merge-styles/src/extractStyleParts.test.ts": "b72651694aa895bfa1a24d0c245bb3dffd115596", | ||
"packages/merge-styles/src/extractStyleParts.ts": "25b6bbe9d50ab187744313231b354bc518ddfaf4", | ||
"packages/merge-styles/src/fontFace.test.ts": "690ef5f2fabe00eab6365eb3528e941bbbf94ade", | ||
"packages/merge-styles/src/fontFace.ts": "fb00ddf59023cf3d1b0fe6039d292a32b25ed264", | ||
"packages/merge-styles/src/getVendorSettings.ts": "64efe9b5b4a03d8fb6c64bf5f673a1fbff870e8a", | ||
"packages/merge-styles/src/index.ts": "249d2876017d5f44f8a66ce3dc87fe96aaaf7f41", | ||
"packages/merge-styles/src/keyframes.test.ts": "8ff596e0df659cc9395f896f57acefdd81f1f21b", | ||
"packages/merge-styles/src/keyframes.ts": "765eb80a90349dec06e5bf55826450289aaa49e7", | ||
"packages/merge-styles/src/mergeStyleSets.test.ts": "43201a9c25e8464951feee46dc6a4bc3e8ff37d3", | ||
"packages/merge-styles/src/mergeStyleSets.ts": "a5980e8d3dced3769f42e2ae215963ad6e6e13df", | ||
"packages/merge-styles/src/mergeStyles.test.ts": "1fdaeee6f83dd5ec84c8e6fc713b432abfe96d71", | ||
"packages/merge-styles/src/mergeStyles.ts": "8538b54c5e7a6200dc3152f1e5244caa0e8d1066", | ||
"packages/merge-styles/src/server.test.ts": "efe9c4f1f8a03511def6738fc10e4bbed16ae9b8", | ||
"packages/merge-styles/src/server.ts": "6039007617198b1470dd941a097a63e210825f47", | ||
"packages/merge-styles/src/styleToClassName.test.ts": "022d4353847985f72a3638e1fec71b20cc91b111", | ||
"packages/merge-styles/src/styleToClassName.ts": "a9b0e827ce27682a4521673625d31128f5c93b27", | ||
"packages/merge-styles/src/transforms/kebabRules.test.ts": "210a236ff754d59dc8ebe1469a62a043f3549377", | ||
"packages/merge-styles/src/transforms/kebabRules.ts": "33ad7b88e0aaaf85ce5765a76141c639362af1a9", | ||
"packages/merge-styles/src/transforms/prefixRules.test.ts": "d037633e6917e651dfb6a815bc29f1fff5925e46", | ||
"packages/merge-styles/src/transforms/prefixRules.ts": "109fe3b089d875f8596a7942e7ce899000565883", | ||
"packages/merge-styles/src/transforms/provideUnits.test.ts": "e45391fc0d00945595d721871991fa8d595d1f25", | ||
"packages/merge-styles/src/transforms/provideUnits.ts": "7d85156e01ab73be2504f2237a38de57a20cd8bf", | ||
"packages/merge-styles/src/transforms/rtlifyRules.test.ts": "cff34694b45aa1f2bfc9ee2c8c708e8a90eb3705", | ||
"packages/merge-styles/src/transforms/rtlifyRules.ts": "318cf4cddb346d6d4130c55572efa9b74fcb8afe", | ||
"packages/merge-styles/tsconfig.json": "93c5fccb2af87cae0d9b3b90a9c308e5e140934a", | ||
"packages/merge-styles/tslint.json": "621ee6ba046052113aa7042fb5bb5323594253ff", | ||
"packages/merge-styles/webpack.config.js": "837a9532ca54effe65c3627c35c7f70611c792cc", | ||
"common/config/rush/npm-shrinkwrap.json": "fc8f90f7042070964d98ca09b66005d5a89dbfa9" | ||
"packages/merge-styles/src/getVendorSettings.ts": "a2d1b63ea5451022d485727acfd73b8ea5b9d6e8", | ||
"packages/merge-styles/src/index.ts": "c5401019fed3dd2794ec8b18d09f7bb7a631955b", | ||
"packages/merge-styles/src/keyframes.test.ts": "cc0f5cfde42251d029343deab79ef837eb3a0e23", | ||
"packages/merge-styles/src/keyframes.ts": "6f9102b57d14e0f8deac7853dee45f1fa47b45b8", | ||
"packages/merge-styles/src/mergeStyleSets.test.ts": "ee1c2b66c5f47a356972908c6c7b3b27961d9aef", | ||
"packages/merge-styles/src/mergeStyleSets.ts": "17e5043c0e5d26fc6858460a28dbd718dd3160a0", | ||
"packages/merge-styles/src/mergeStyles.test.ts": "e4217cec66f8bb8a82640ef371968b3e29c1dbf2", | ||
"packages/merge-styles/src/mergeStyles.ts": "65e06274fe18171fa482210a33d0eab90c87c465", | ||
"packages/merge-styles/src/server.test.ts": "f4fd998cb4e9ff95fa51b20caee115dc62fdb202", | ||
"packages/merge-styles/src/server.ts": "3c8a801b6d1452aea4659c943c6c0ffb91012f89", | ||
"packages/merge-styles/src/styleToClassName.test.ts": "3618f400a2b4f939d256b4d50e35790315d67660", | ||
"packages/merge-styles/src/styleToClassName.ts": "0a9aa8f04cda47db6f9fe695a15aa35d1f7e50ae", | ||
"packages/merge-styles/src/transforms/kebabRules.test.ts": "58d61c83ccdad62e5db079ab9a10b66a4cb73852", | ||
"packages/merge-styles/src/transforms/kebabRules.ts": "4765e4f562b5f790d1d8e67e9ec62d138481b614", | ||
"packages/merge-styles/src/transforms/prefixRules.test.ts": "5b6e484dfbcea8e7f91c4b754ae3f84624da9a59", | ||
"packages/merge-styles/src/transforms/prefixRules.ts": "5e21210856d92573f2406d65794743a1edcf6ba2", | ||
"packages/merge-styles/src/transforms/provideUnits.test.ts": "6d12df5b647df4c26fb000b6c7ce2c3c8123e25d", | ||
"packages/merge-styles/src/transforms/provideUnits.ts": "29fc2dd77972ad7543ab03314eb95685f5252c38", | ||
"packages/merge-styles/src/transforms/rtlifyRules.test.ts": "93aa1c0d21f2e51f83b62a4735453cb3438e5a7a", | ||
"packages/merge-styles/src/transforms/rtlifyRules.ts": "9763a772eaf1895f4d5231efb7cc9f0f8b29b570", | ||
"packages/merge-styles/tsconfig.json": "ce2630918d097a38556e3f5c44003203fe8edc6d", | ||
"packages/merge-styles/tslint.json": "40ab75046885663d789d18baab70d25de7e54c41", | ||
"packages/merge-styles/webpack.config.js": "bfc856505c9975fb4ea67c35061bfaebe0916add", | ||
"common/config/rush/npm-shrinkwrap.json": "27915d6002c5b48f48da9c3b654d4611c576ba5e" | ||
}, | ||
"arguments": "node ../../scripts/build.js --production" | ||
} |
{ | ||
"name": "@uifabric/merge-styles", | ||
"version": "6.0.1", | ||
"version": "6.0.2", | ||
"description": "Office UI Fabric style loading utilities.", | ||
@@ -17,2 +17,3 @@ "main": "lib-commonjs/index.js", | ||
"clean": "node ../../scripts/clean.js", | ||
"code-style": "node ../../scripts/code-style.js", | ||
"start-test": "node ../../scripts/start-test.js" | ||
@@ -19,0 +20,0 @@ }, |
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
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
7854
669463