Socket
Socket
Sign inDemoInstall

@fluentui/make-styles

Package Overview
Dependencies
Maintainers
11
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/make-styles - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

17

CHANGELOG.json

@@ -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 = {};

2

lib-amd/version.js
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

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