@fluentui/make-styles
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -5,3 +5,18 @@ { | ||
{ | ||
"date": "Mon, 21 Dec 2020 12:26:37 GMT", | ||
"date": "Wed, 27 Jan 2021 12:28:35 GMT", | ||
"tag": "@fluentui/make-styles_v0.3.1", | ||
"version": "0.3.1", | ||
"comments": { | ||
"patch": [ | ||
{ | ||
"comment": "chore: disable a requirement of prebuilt styles for production builds", | ||
"author": "olfedias@microsoft.com", | ||
"commit": "dcd96f10a477e62b93ba44d31549b36617f983bc", | ||
"package": "@fluentui/make-styles" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Mon, 21 Dec 2020 12:28:34 GMT", | ||
"tag": "@fluentui/make-styles_v0.3.0", | ||
@@ -8,0 +23,0 @@ "version": "0.3.0", |
# Change Log - @fluentui/make-styles | ||
This log was last generated on Mon, 21 Dec 2020 12:26:37 GMT and should not be manually modified. | ||
This log was last generated on Wed, 27 Jan 2021 12:28:35 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## [0.3.1](https://github.com/microsoft/fluentui/tree/@fluentui/make-styles_v0.3.1) | ||
Wed, 27 Jan 2021 12:28:35 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/make-styles_v0.3.0..@fluentui/make-styles_v0.3.1) | ||
### Patches | ||
- chore: disable a requirement of prebuilt styles for production builds ([PR #16640](https://github.com/microsoft/fluentui/pull/16640) by olfedias@microsoft.com) | ||
## [0.3.0](https://github.com/microsoft/fluentui/tree/@fluentui/make-styles_v0.3.0) | ||
Mon, 21 Dec 2020 12:26:37 GMT | ||
Mon, 21 Dec 2020 12:28:34 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/make-styles_v0.2.0..@fluentui/make-styles_v0.3.0) | ||
@@ -11,0 +20,0 @@ |
@@ -8,6 +8,19 @@ define(["require", "exports", "tslib", "./constants", "./runtime/index"], function (require, exports, tslib_1, constants_1, index_1) { | ||
function computeClasses(selectors, options) { | ||
var tokens; | ||
var resolvedDefinitions; | ||
// TODO: describe me | ||
// let tokens: Tokens | null; | ||
// let resolvedDefinitions: MakeStylesResolvedDefinition<Selectors, Tokens>[]; | ||
// | ||
// This requires a build step which is currently WIP | ||
// if (process.env.NODE_ENV === 'production') { | ||
// tokens = CAN_USE_CSS_VARIABLES ? null : options.tokens; | ||
// resolvedDefinitions = CAN_USE_CSS_VARIABLES | ||
// ? ((definitions as unknown) as MakeStylesResolvedDefinition<Selectors, Tokens>[]) | ||
// : resolveDefinitions( | ||
// (definitions as unknown) as MakeStylesResolvedDefinition<Selectors, Tokens>[], | ||
// tokens, | ||
// unstable_cssPriority, | ||
// ); | ||
// } else { | ||
var tokens = constants_1.CAN_USE_CSS_VARIABLES ? index_1.createCSSVariablesProxy(options.tokens) : options.tokens; | ||
var resolvedDefinitions = index_1.resolveDefinitions(definitions, tokens, unstable_cssPriority); | ||
// } | ||
var nonMakeClasses = ''; | ||
@@ -14,0 +27,0 @@ var overrides = {}; |
define(["require", "exports", "@fluentui/set-version"], function (require, exports, set_version_1) { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
set_version_1.setVersion('@fluentui/make-styles', '0.3.0'); | ||
set_version_1.setVersion('@fluentui/make-styles', '0.3.1'); | ||
}); | ||
//# sourceMappingURL=version.js.map |
@@ -10,15 +10,19 @@ "use strict"; | ||
function computeClasses(selectors, options) { | ||
var tokens; | ||
var resolvedDefinitions; | ||
// TODO: describe me | ||
if (process.env.NODE_ENV === 'production') { | ||
tokens = constants_1.CAN_USE_CSS_VARIABLES ? null : options.tokens; | ||
resolvedDefinitions = constants_1.CAN_USE_CSS_VARIABLES | ||
? definitions | ||
: index_1.resolveDefinitions(definitions, tokens, unstable_cssPriority); | ||
} | ||
else { | ||
tokens = constants_1.CAN_USE_CSS_VARIABLES ? index_1.createCSSVariablesProxy(options.tokens) : options.tokens; | ||
resolvedDefinitions = index_1.resolveDefinitions(definitions, tokens, unstable_cssPriority); | ||
} | ||
// let tokens: Tokens | null; | ||
// let resolvedDefinitions: MakeStylesResolvedDefinition<Selectors, Tokens>[]; | ||
// | ||
// This requires a build step which is currently WIP | ||
// if (process.env.NODE_ENV === 'production') { | ||
// tokens = CAN_USE_CSS_VARIABLES ? null : options.tokens; | ||
// resolvedDefinitions = CAN_USE_CSS_VARIABLES | ||
// ? ((definitions as unknown) as MakeStylesResolvedDefinition<Selectors, Tokens>[]) | ||
// : resolveDefinitions( | ||
// (definitions as unknown) as MakeStylesResolvedDefinition<Selectors, Tokens>[], | ||
// tokens, | ||
// unstable_cssPriority, | ||
// ); | ||
// } else { | ||
var tokens = constants_1.CAN_USE_CSS_VARIABLES ? index_1.createCSSVariablesProxy(options.tokens) : options.tokens; | ||
var resolvedDefinitions = index_1.resolveDefinitions(definitions, tokens, unstable_cssPriority); | ||
// } | ||
var nonMakeClasses = ''; | ||
@@ -25,0 +29,0 @@ var overrides = {}; |
@@ -6,3 +6,3 @@ "use strict"; | ||
var set_version_1 = require("@fluentui/set-version"); | ||
set_version_1.setVersion('@fluentui/make-styles', '0.3.0'); | ||
set_version_1.setVersion('@fluentui/make-styles', '0.3.1'); | ||
//# sourceMappingURL=version.js.map |
@@ -8,15 +8,19 @@ import { __spreadArrays } from "tslib"; | ||
function computeClasses(selectors, options) { | ||
var tokens; | ||
var resolvedDefinitions; | ||
// TODO: describe me | ||
if (process.env.NODE_ENV === 'production') { | ||
tokens = CAN_USE_CSS_VARIABLES ? null : options.tokens; | ||
resolvedDefinitions = CAN_USE_CSS_VARIABLES | ||
? definitions | ||
: resolveDefinitions(definitions, tokens, unstable_cssPriority); | ||
} | ||
else { | ||
tokens = CAN_USE_CSS_VARIABLES ? createCSSVariablesProxy(options.tokens) : options.tokens; | ||
resolvedDefinitions = resolveDefinitions(definitions, tokens, unstable_cssPriority); | ||
} | ||
// let tokens: Tokens | null; | ||
// let resolvedDefinitions: MakeStylesResolvedDefinition<Selectors, Tokens>[]; | ||
// | ||
// This requires a build step which is currently WIP | ||
// if (process.env.NODE_ENV === 'production') { | ||
// tokens = CAN_USE_CSS_VARIABLES ? null : options.tokens; | ||
// resolvedDefinitions = CAN_USE_CSS_VARIABLES | ||
// ? ((definitions as unknown) as MakeStylesResolvedDefinition<Selectors, Tokens>[]) | ||
// : resolveDefinitions( | ||
// (definitions as unknown) as MakeStylesResolvedDefinition<Selectors, Tokens>[], | ||
// tokens, | ||
// unstable_cssPriority, | ||
// ); | ||
// } else { | ||
var tokens = CAN_USE_CSS_VARIABLES ? createCSSVariablesProxy(options.tokens) : options.tokens; | ||
var resolvedDefinitions = resolveDefinitions(definitions, tokens, unstable_cssPriority); | ||
// } | ||
var nonMakeClasses = ''; | ||
@@ -23,0 +27,0 @@ var overrides = {}; |
// 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 '@fluentui/set-version'; | ||
setVersion('@fluentui/make-styles', '0.3.0'); | ||
setVersion('@fluentui/make-styles', '0.3.1'); | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@fluentui/make-styles", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Experimental utility for creating css styles/classes.", | ||
@@ -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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
196367
1607
0