@microsoft/load-themed-styles
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -5,2 +5,19 @@ { | ||
{ | ||
"version": "1.5.1", | ||
"tag": "@microsoft/load-themed-styles_v1.5.1", | ||
"date": "Tue, 25 Jul 2017 20:03:31 GMT", | ||
"comments": { | ||
"patch": [ | ||
{ | ||
"comment": "Upgrade to TypeScript 2.4" | ||
} | ||
], | ||
"dependency": [ | ||
{ | ||
"comment": "Updating dependency \"@microsoft/node-library-build\" from `~3.1.0` to `~3.2.0`" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"version": "1.5.0", | ||
@@ -7,0 +24,0 @@ "tag": "@microsoft/load-themed-styles_v1.5.0", |
# Change Log - @microsoft/load-themed-styles | ||
This log was last generated on Fri, 21 Jul 2017 01:02:30 GMT and should not be manually modified. | ||
This log was last generated on Tue, 25 Jul 2017 20:03:31 GMT and should not be manually modified. | ||
## 1.5.1 | ||
Tue, 25 Jul 2017 20:03:31 GMT | ||
### Patches | ||
- Upgrade to TypeScript 2.4 | ||
## 1.5.0 | ||
@@ -6,0 +13,0 @@ Fri, 21 Jul 2017 01:02:30 GMT |
@@ -29,3 +29,3 @@ export interface IThemingInstruction { | ||
*/ | ||
export declare function configureLoadStyles(loadStyles: ((processedStyles: string, rawStyles?: string | ThemableArray) => void) | undefined): void; | ||
export declare function configureLoadStyles(loadStylesFn: ((processedStyles: string, rawStyles?: string | ThemableArray) => void) | undefined): void; | ||
/** | ||
@@ -32,0 +32,0 @@ * Configure run mode of load-themable-styles |
@@ -88,4 +88,4 @@ /** | ||
*/ | ||
function configureLoadStyles(loadStyles) { | ||
_themeState.loadStyles = loadStyles; | ||
function configureLoadStyles(loadStylesFn) { | ||
_themeState.loadStyles = loadStylesFn; | ||
} | ||
@@ -92,0 +92,0 @@ exports.configureLoadStyles = configureLoadStyles; |
@@ -29,3 +29,3 @@ export interface IThemingInstruction { | ||
*/ | ||
export declare function configureLoadStyles(loadStyles: ((processedStyles: string, rawStyles?: string | ThemableArray) => void) | undefined): void; | ||
export declare function configureLoadStyles(loadStylesFn: ((processedStyles: string, rawStyles?: string | ThemableArray) => void) | undefined): void; | ||
/** | ||
@@ -32,0 +32,0 @@ * Configure run mode of load-themable-styles |
@@ -0,1 +1,2 @@ | ||
"use strict"; | ||
/** | ||
@@ -5,3 +6,2 @@ * An IThemingInstruction can specify a rawString to be preserved or a theme slot and a default value | ||
*/ | ||
"use strict"; | ||
var __assign = (this && this.__assign) || Object.assign || function(t) { | ||
@@ -88,4 +88,4 @@ for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
*/ | ||
function configureLoadStyles(loadStyles) { | ||
_themeState.loadStyles = loadStyles; | ||
function configureLoadStyles(loadStylesFn) { | ||
_themeState.loadStyles = loadStylesFn; | ||
} | ||
@@ -92,0 +92,0 @@ exports.configureLoadStyles = configureLoadStyles; |
@@ -7,9 +7,9 @@ { | ||
"libraries/load-themed-styles/.vscode/tasks.json": "3567ff9ad0c5fefaa86e6986603360f58e88fcbf", | ||
"libraries/load-themed-styles/CHANGELOG.json": "6be272ad156ea5b4a24413126681c94a299e6102", | ||
"libraries/load-themed-styles/CHANGELOG.md": "4d9cec05f31b429c292d8a6090cb19a6c27fe344", | ||
"libraries/load-themed-styles/CHANGELOG.json": "eda765912b8e4b73feea45b1f367d840d8108d23", | ||
"libraries/load-themed-styles/CHANGELOG.md": "ac1f57063f7ea1247d03bad05db542d3927d82ad", | ||
"libraries/load-themed-styles/LICENSE": "0f3d654b877f682af760618b147fb6795728d9ba", | ||
"libraries/load-themed-styles/README.md": "ed0c394a7bffb55cac4c73330131b839683202f0", | ||
"libraries/load-themed-styles/gulpfile.js": "cb93beb5e7c4302a65ec8f1d98009ade6aa3bb3e", | ||
"libraries/load-themed-styles/package.json": "ec00eb42b69d732e55658d7721a8e187ac2571f4", | ||
"libraries/load-themed-styles/src/index.ts": "d40769da708026b23c33be53003b24320ffdeae3", | ||
"libraries/load-themed-styles/package.json": "e20d561816128733279a483cb79797d3802f88c3", | ||
"libraries/load-themed-styles/src/index.ts": "9c6a84f5a91c1e798c7b93fec9f0f574e2a1b5af", | ||
"libraries/load-themed-styles/src/tests/index.test.ts": "e574538d6c6bcbcc6fad30332a8a9742f5c3e81e", | ||
@@ -24,7 +24,20 @@ "libraries/load-themed-styles/tsconfig.json": "f684b3ac2d0042eba5d74e319d8f5117f7927665", | ||
"README.md": "22ee21f5042b84f44f16145061feebdd90e4dfaa", | ||
"common/changes/@microsoft/load-themed-styles/zhiliu-BatchStylesLoading_2017-07-17-21-29.json": "8988380f9a43edeaf818f2a5d1313d0cacea45fa", | ||
"common/changes/@microsoft/api-extractor/ianc-ts-2.4-upgrade_2017-07-24-18-50.json": "cb4ebbe08978c77d7a66804ce7211138f8daef6e", | ||
"common/changes/@microsoft/gulp-core-build-karma/ianc-ts-2.4-upgrade_2017-07-24-18-50.json": "ae25e764d30627308ee77b6a26c6b37b296fd6f3", | ||
"common/changes/@microsoft/gulp-core-build-mocha/ianc-ts-2.4-upgrade_2017-07-24-18-50.json": "60485a008fad04dae86fa3f4892778d743963e32", | ||
"common/changes/@microsoft/gulp-core-build-sass/ianc-ts-2.4-upgrade_2017-07-24-18-50.json": "dcc16f46cfbcb702704d043378f941b27fce8f72", | ||
"common/changes/@microsoft/gulp-core-build-serve/ianc-ts-2.4-upgrade_2017-07-24-18-50.json": "82a1074ce1e16b2d47cb2050b4be62d28ebd3b84", | ||
"common/changes/@microsoft/gulp-core-build-typescript/ianc-ts-2.4-upgrade_2017-07-24-18-50.json": "d2af205fbee7f5e780602396649d08b2eb18ab35", | ||
"common/changes/@microsoft/gulp-core-build-webpack/ianc-ts-2.4-upgrade_2017-07-24-18-50.json": "8f6e63039128bcf447a443ef4979d99a7c13463c", | ||
"common/changes/@microsoft/gulp-core-build/ianc-ts-2.4-upgrade_2017-07-24-18-50.json": "7bdc63880111e1c23bc429c93b46d15d263cbae1", | ||
"common/changes/@microsoft/load-themed-styles/ianc-ts-2.4-upgrade_2017-07-24-18-50.json": "1416ffc74a1cd5b99a064d7f763b392a5356e3f2", | ||
"common/changes/@microsoft/loader-set-webpack-public-path/ianc-ts-2.4-upgrade_2017-07-24-18-50.json": "0fdd3190391415fca2191397ff126247d3105024", | ||
"common/changes/@microsoft/node-library-build/ianc-ts-2.4-upgrade_2017-07-24-18-50.json": "4cea7a255ae369d08d4f8917b332931544595fdc", | ||
"common/changes/@microsoft/stream-collator/ianc-ts-2.4-upgrade_2017-07-24-18-50.json": "c181c8cbcf563c3dd4d80fa1db7ad5121921fd8c", | ||
"common/changes/@microsoft/ts-command-line/ianc-ts-2.4-upgrade_2017-07-24-18-50.json": "17897cd59764578aafa3b831c3fe4259a6d5833e", | ||
"common/changes/@microsoft/web-library-build/ianc-ts-2.4-upgrade_2017-07-24-18-50.json": "aa041f263624d2bef5ae7398192c4e31eb1aafe8", | ||
"common/config/rush/.npmrc": "f6a02f2d9a7ba7a7d59198f0a4eb89cc481c01a6", | ||
"common/config/rush/browser-approved-packages.json": "607bec405725280ea6adbfe4c738dfb5016b6d8c", | ||
"common/config/rush/nonbrowser-approved-packages.json": "6fbd1017c29692ac53be7280989e7057448503e6", | ||
"common/config/rush/npm-shrinkwrap.json": "775a9e704cea6d984007f0674125b53f0d1315ff", | ||
"common/config/rush/npm-shrinkwrap.json": "f85243fa905f46c75fc2621f608c32bf993bffdc", | ||
"common/reviews/api/api-extractor.api.ts": "94a9224231be9976687277e310dcb13cd03e2bec", | ||
@@ -36,11 +49,11 @@ "common/reviews/api/decorators.api.ts": "da3142830231162beb36d87461e23c42c25eed83", | ||
"common/reviews/api/gulp-core-build-serve.api.ts": "d55b52cba46f786d962a240f9d6e35c7d3e339b2", | ||
"common/reviews/api/gulp-core-build-typescript.api.ts": "9a47606bb807942eb3e013f9ccc43e72ca2d3792", | ||
"common/reviews/api/gulp-core-build-typescript.api.ts": "ceb662ad163fb5f702ed372bb4ed6eb7fdb9b984", | ||
"common/reviews/api/gulp-core-build-webpack.api.ts": "8f344e12286f6601de59988b56004a576a54ccbe", | ||
"common/reviews/api/gulp-core-build.api.ts": "ecda866bd5b2e1330bf0ca40ce54ad8d44c696b8", | ||
"common/reviews/api/node-core-library.api.ts": "083ac6fc738c8a01b8225d5212f207765e65514e", | ||
"common/reviews/api/node-library-build.api.ts": "76157e9b811dbf1ac4318a92866be9266ee3c5b7", | ||
"common/reviews/api/node-library-build.api.ts": "6d8da4bd0571d04fcd685ff0e319b30eb25cea95", | ||
"common/reviews/api/package-deps-hash.api.ts": "848fd5d74ef5920b51288ba15c890e953299f4ae", | ||
"common/reviews/api/rush-lib.api.ts": "fb74bb72c7979dd3740988d4a37bdb60e61cda1b", | ||
"common/reviews/api/rush-lib.api.ts": "ea5144cec02fc5fc8ff95e906ae754a36679ee73", | ||
"common/reviews/api/test-web-library-build.api.ts": "daa3ac892a9d22a6844be649d84a739be0c16210", | ||
"common/reviews/api/web-library-build.api.ts": "15afc68ba7cd3fc4316ab31d42d939954088e9df", | ||
"common/reviews/api/web-library-build.api.ts": "5e45cc9b01ff63b7782c4bff6bd2df8561b3678e", | ||
"common/scripts/InstallRushOnlyIfNeeded.js": "67ff1de8ea7156ae1e49c3b123820ea7d852efa5", | ||
@@ -47,0 +60,0 @@ "common/wiki-images/api-extractor-title.png": "2a13a21caa560dec94d07aec6758b112739dc0c0", |
{ | ||
"name": "@microsoft/load-themed-styles", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"description": "Loads themed styles.", | ||
@@ -24,4 +24,4 @@ "license": "MIT", | ||
"gulp": "~3.9.1", | ||
"@microsoft/node-library-build": "~3.1.0" | ||
"@microsoft/node-library-build": "~3.2.0" | ||
} | ||
} |
@@ -163,5 +163,5 @@ /** | ||
export function configureLoadStyles( | ||
loadStyles: ((processedStyles: string, rawStyles?: string | ThemableArray) => void) | undefined | ||
loadStylesFn: ((processedStyles: string, rawStyles?: string | ThemableArray) => void) | undefined | ||
): void { | ||
_themeState.loadStyles = loadStyles; | ||
_themeState.loadStyles = loadStylesFn; | ||
} | ||
@@ -184,3 +184,3 @@ | ||
_themeState.runState.buffer = []; | ||
const mergedStyleArray: ThemableArray[] = [].concat.apply([], styleArrays); | ||
const mergedStyleArray: ThemableArray = [].concat.apply([], styleArrays); | ||
if (mergedStyleArray.length > 0) { | ||
@@ -187,0 +187,0 @@ applyThemableStyles(mergedStyleArray); |
@@ -26,5 +26,21 @@ { | ||
true, | ||
"public-before-private", | ||
"static-before-instance", | ||
"variables-before-functions" | ||
{ | ||
"order": [ | ||
"public-static-field", | ||
"protected-static-field", | ||
"private-static-field", | ||
"public-instance-field", | ||
"protected-instance-field", | ||
"private-instance-field", | ||
"public-static-method", | ||
"protected-static-method", | ||
"private-static-method", | ||
"public-constructor", | ||
"public-instance-method", | ||
"protected-constructor", | ||
"protected-instance-method", | ||
"private-constructor", | ||
"private-instance-method" | ||
] | ||
} | ||
], | ||
@@ -62,3 +78,2 @@ "missing-optional-annotation": true, | ||
"no-unused-expression": true, | ||
"no-unused-imports": true, | ||
"no-use-before-declare": true, | ||
@@ -65,0 +80,0 @@ "no-with-statement": true, |
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
120751
24
1522