Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vanilla-extract/css

Package Overview
Dependencies
Maintainers
4
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vanilla-extract/css - npm Package Compare versions

Comparing version 0.0.0-create-compiler-api-2023264641 to 0.0.0-create-compiler-api-20232723636

4

adapter/dist/vanilla-extract-css-adapter.cjs.d.ts

@@ -181,4 +181,4 @@ import { AtRule, Properties } from 'csstype';

appendCss: (css: CSS, fileScope: FileScope) => void;
registerClassName: (className: string) => void;
registerComposition: (composition: Composition) => void;
registerClassName: (className: string, fileScope: FileScope) => void;
registerComposition: (composition: Composition, fileScope: FileScope) => void;
markCompositionUsed: (identifier: string) => void;

@@ -185,0 +185,0 @@ onEndFileScope: (fileScope: FileScope) => void;

@@ -309,3 +309,3 @@ 'use strict';

var themeClassName = generateIdentifier(typeof arg2 === 'object' ? arg3 : arg2);
adapter_dist_vanillaExtractCssAdapter.registerClassName(themeClassName);
adapter_dist_vanillaExtractCssAdapter.registerClassName(themeClassName, fileScope_dist_vanillaExtractCssFileScope.getFileScope());
var vars = typeof arg2 === 'object' ? createGlobalTheme(themeClassName, arg1, arg2) : createGlobalTheme(themeClassName, arg1);

@@ -318,3 +318,3 @@ return vars ? [themeClassName, vars] : themeClassName;

var className = generateIdentifier(debugId);
adapter_dist_vanillaExtractCssAdapter.registerClassName(className);
adapter_dist_vanillaExtractCssAdapter.registerClassName(className, fileScope_dist_vanillaExtractCssFileScope.getFileScope());
var classList = [];

@@ -335,3 +335,3 @@ var styleRules = [];

classList: result
});
}, fileScope_dist_vanillaExtractCssFileScope.getFileScope());
if (styleRules.length > 0) {

@@ -361,3 +361,3 @@ // If there are styles attached to this composition then it is

var className = generateIdentifier(debugId);
adapter_dist_vanillaExtractCssAdapter.registerClassName(className);
adapter_dist_vanillaExtractCssAdapter.registerClassName(className, fileScope_dist_vanillaExtractCssFileScope.getFileScope());
adapter_dist_vanillaExtractCssAdapter.appendCss({

@@ -364,0 +364,0 @@ type: 'local',

@@ -297,3 +297,3 @@ import { injectStyles } from '../injectStyles/dist/vanilla-extract-css-injectStyles.browser.esm.js';

var themeClassName = generateIdentifier(typeof arg2 === 'object' ? arg3 : arg2);
registerClassName(themeClassName);
registerClassName(themeClassName, getFileScope());
var vars = typeof arg2 === 'object' ? createGlobalTheme(themeClassName, arg1, arg2) : createGlobalTheme(themeClassName, arg1);

@@ -306,3 +306,3 @@ return vars ? [themeClassName, vars] : themeClassName;

var className = generateIdentifier(debugId);
registerClassName(className);
registerClassName(className, getFileScope());
var classList = [];

@@ -323,3 +323,3 @@ var styleRules = [];

classList: result
});
}, getFileScope());
if (styleRules.length > 0) {

@@ -349,3 +349,3 @@ // If there are styles attached to this composition then it is

var className = generateIdentifier(debugId);
registerClassName(className);
registerClassName(className, getFileScope());
appendCss({

@@ -352,0 +352,0 @@ type: 'local',

@@ -189,4 +189,4 @@ import { Properties, AtRule } from 'csstype';

appendCss: (css: CSS, fileScope: FileScope) => void;
registerClassName: (className: string) => void;
registerComposition: (composition: Composition) => void;
registerClassName: (className: string, fileScope: FileScope) => void;
registerComposition: (composition: Composition, fileScope: FileScope) => void;
markCompositionUsed: (identifier: string) => void;

@@ -193,0 +193,0 @@ onEndFileScope: (fileScope: FileScope) => void;

@@ -309,3 +309,3 @@ 'use strict';

var themeClassName = generateIdentifier(typeof arg2 === 'object' ? arg3 : arg2);
adapter_dist_vanillaExtractCssAdapter.registerClassName(themeClassName);
adapter_dist_vanillaExtractCssAdapter.registerClassName(themeClassName, fileScope_dist_vanillaExtractCssFileScope.getFileScope());
var vars = typeof arg2 === 'object' ? createGlobalTheme(themeClassName, arg1, arg2) : createGlobalTheme(themeClassName, arg1);

@@ -318,3 +318,3 @@ return vars ? [themeClassName, vars] : themeClassName;

var className = generateIdentifier(debugId);
adapter_dist_vanillaExtractCssAdapter.registerClassName(className);
adapter_dist_vanillaExtractCssAdapter.registerClassName(className, fileScope_dist_vanillaExtractCssFileScope.getFileScope());
var classList = [];

@@ -335,3 +335,3 @@ var styleRules = [];

classList: result
});
}, fileScope_dist_vanillaExtractCssFileScope.getFileScope());
if (styleRules.length > 0) {

@@ -361,3 +361,3 @@ // If there are styles attached to this composition then it is

var className = generateIdentifier(debugId);
adapter_dist_vanillaExtractCssAdapter.registerClassName(className);
adapter_dist_vanillaExtractCssAdapter.registerClassName(className, fileScope_dist_vanillaExtractCssFileScope.getFileScope());
adapter_dist_vanillaExtractCssAdapter.appendCss({

@@ -364,0 +364,0 @@ type: 'local',

@@ -309,3 +309,3 @@ 'use strict';

var themeClassName = generateIdentifier(typeof arg2 === 'object' ? arg3 : arg2);
adapter_dist_vanillaExtractCssAdapter.registerClassName(themeClassName);
adapter_dist_vanillaExtractCssAdapter.registerClassName(themeClassName, fileScope_dist_vanillaExtractCssFileScope.getFileScope());
var vars = typeof arg2 === 'object' ? createGlobalTheme(themeClassName, arg1, arg2) : createGlobalTheme(themeClassName, arg1);

@@ -318,3 +318,3 @@ return vars ? [themeClassName, vars] : themeClassName;

var className = generateIdentifier(debugId);
adapter_dist_vanillaExtractCssAdapter.registerClassName(className);
adapter_dist_vanillaExtractCssAdapter.registerClassName(className, fileScope_dist_vanillaExtractCssFileScope.getFileScope());
var classList = [];

@@ -335,3 +335,3 @@ var styleRules = [];

classList: result
});
}, fileScope_dist_vanillaExtractCssFileScope.getFileScope());
if (styleRules.length > 0) {

@@ -361,3 +361,3 @@ // If there are styles attached to this composition then it is

var className = generateIdentifier(debugId);
adapter_dist_vanillaExtractCssAdapter.registerClassName(className);
adapter_dist_vanillaExtractCssAdapter.registerClassName(className, fileScope_dist_vanillaExtractCssFileScope.getFileScope());
adapter_dist_vanillaExtractCssAdapter.appendCss({

@@ -364,0 +364,0 @@ type: 'local',

@@ -297,3 +297,3 @@ import { injectStyles } from '../injectStyles/dist/vanilla-extract-css-injectStyles.esm.js';

var themeClassName = generateIdentifier(typeof arg2 === 'object' ? arg3 : arg2);
registerClassName(themeClassName);
registerClassName(themeClassName, getFileScope());
var vars = typeof arg2 === 'object' ? createGlobalTheme(themeClassName, arg1, arg2) : createGlobalTheme(themeClassName, arg1);

@@ -306,3 +306,3 @@ return vars ? [themeClassName, vars] : themeClassName;

var className = generateIdentifier(debugId);
registerClassName(className);
registerClassName(className, getFileScope());
var classList = [];

@@ -323,3 +323,3 @@ var styleRules = [];

classList: result
});
}, getFileScope());
if (styleRules.length > 0) {

@@ -349,3 +349,3 @@ // If there are styles attached to this composition then it is

var className = generateIdentifier(debugId);
registerClassName(className);
registerClassName(className, getFileScope());
appendCss({

@@ -352,0 +352,0 @@ type: 'local',

{
"name": "@vanilla-extract/css",
"version": "0.0.0-create-compiler-api-2023264641",
"version": "0.0.0-create-compiler-api-20232723636",
"description": "Zero-runtime Stylesheets-in-TypeScript",

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

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