Socket
Socket
Sign inDemoInstall

@vanilla-extract/sprinkles

Package Overview
Dependencies
Maintainers
4
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vanilla-extract/sprinkles - npm Package Compare versions

Comparing version 1.5.2 to 1.6.0

1

dist/vanilla-extract-sprinkles.cjs.d.ts

@@ -127,2 +127,3 @@ import { CSSProperties, StyleRule } from '@vanilla-extract/css';

type UnconditionalAtomicOptions<Properties extends AtomicProperties> = {
'@layer'?: string;
properties: Properties;

@@ -129,0 +130,0 @@ };

@@ -66,2 +66,9 @@ 'use strict';

}
if (options['@layer']) {
styleValue = {
'@layer': {
[options['@layer']]: styleValue
}
};
}
var className = css.style(styleValue, "".concat(key, "_").concat(String(valueName), "_").concat(_conditionName));

@@ -80,2 +87,9 @@ styles[key].values[valueName].conditions[_conditionName] = className;

};
if (options['@layer']) {
_styleValue = {
'@layer': {
[options['@layer']]: _styleValue
}
};
}
styles[key].values[valueName] = {

@@ -82,0 +96,0 @@ defaultClass: css.style(_styleValue, "".concat(key, "_").concat(String(valueName)))

@@ -66,2 +66,9 @@ 'use strict';

}
if (options['@layer']) {
styleValue = {
'@layer': {
[options['@layer']]: styleValue
}
};
}
var className = css.style(styleValue, "".concat(key, "_").concat(String(valueName), "_").concat(_conditionName));

@@ -80,2 +87,9 @@ styles[key].values[valueName].conditions[_conditionName] = className;

};
if (options['@layer']) {
_styleValue = {
'@layer': {
[options['@layer']]: _styleValue
}
};
}
styles[key].values[valueName] = {

@@ -82,0 +96,0 @@ defaultClass: css.style(_styleValue, "".concat(key, "_").concat(String(valueName)))

@@ -62,2 +62,9 @@ import { composeStyles, style } from '@vanilla-extract/css';

}
if (options['@layer']) {
styleValue = {
'@layer': {
[options['@layer']]: styleValue
}
};
}
var className = style(styleValue, "".concat(key, "_").concat(String(valueName), "_").concat(_conditionName));

@@ -76,2 +83,9 @@ styles[key].values[valueName].conditions[_conditionName] = className;

};
if (options['@layer']) {
_styleValue = {
'@layer': {
[options['@layer']]: _styleValue
}
};
}
styles[key].values[valueName] = {

@@ -78,0 +92,0 @@ defaultClass: style(_styleValue, "".concat(key, "_").concat(String(valueName)))

2

package.json
{
"name": "@vanilla-extract/sprinkles",
"version": "1.5.2",
"version": "1.6.0",
"description": "Zero-runtime atomic CSS framework for vanilla-extract",

@@ -5,0 +5,0 @@ "sideEffects": false,

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