@vanilla-extract/css
Advanced tools
Comparing version 0.0.0-create-compiler-api-2023264641 to 0.0.0-create-compiler-api-20232722199
@@ -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; |
@@ -6,3 +6,3 @@ 'use strict'; | ||
var injectStyles_dist_vanillaExtractCssInjectStyles = require('../injectStyles/dist/vanilla-extract-css-injectStyles.browser.cjs.js'); | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('./transformCss-9e7358cb.browser.cjs.js'); | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('./transformCss-df0a3c3a.browser.cjs.js'); | ||
var adapter_dist_vanillaExtractCssAdapter = require('../adapter/dist/vanilla-extract-css-adapter.browser.cjs.js'); | ||
@@ -310,3 +310,3 @@ var hash = require('@emotion/hash'); | ||
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); | ||
@@ -319,3 +319,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 = []; | ||
@@ -336,3 +336,3 @@ var styleRules = []; | ||
classList: result | ||
}); | ||
}, fileScope_dist_vanillaExtractCssFileScope.getFileScope()); | ||
if (styleRules.length > 0) { | ||
@@ -362,3 +362,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({ | ||
@@ -365,0 +365,0 @@ type: 'local', |
import { injectStyles } from '../injectStyles/dist/vanilla-extract-css-injectStyles.browser.esm.js'; | ||
import { t as transformCss, _ as _objectSpread2, d as dudupeAndJoinClassList } from './transformCss-b0591097.browser.esm.js'; | ||
import { t as transformCss, _ as _objectSpread2, d as dudupeAndJoinClassList } from './transformCss-a950d0f2.browser.esm.js'; | ||
import { setAdapterIfNotSet, getIdentOption, appendCss, registerClassName, registerComposition, markCompositionUsed } from '../adapter/dist/vanilla-extract-css-adapter.browser.esm.js'; | ||
@@ -297,3 +297,3 @@ import hash from '@emotion/hash'; | ||
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; |
@@ -6,3 +6,3 @@ 'use strict'; | ||
var injectStyles_dist_vanillaExtractCssInjectStyles = require('../injectStyles/dist/vanilla-extract-css-injectStyles.cjs.dev.js'); | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('./transformCss-0596b831.cjs.dev.js'); | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('./transformCss-4e7f2af1.cjs.dev.js'); | ||
var adapter_dist_vanillaExtractCssAdapter = require('../adapter/dist/vanilla-extract-css-adapter.cjs.dev.js'); | ||
@@ -310,3 +310,3 @@ var hash = require('@emotion/hash'); | ||
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); | ||
@@ -319,3 +319,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 = []; | ||
@@ -336,3 +336,3 @@ var styleRules = []; | ||
classList: result | ||
}); | ||
}, fileScope_dist_vanillaExtractCssFileScope.getFileScope()); | ||
if (styleRules.length > 0) { | ||
@@ -362,3 +362,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({ | ||
@@ -365,0 +365,0 @@ type: 'local', |
@@ -6,3 +6,3 @@ 'use strict'; | ||
var injectStyles_dist_vanillaExtractCssInjectStyles = require('../injectStyles/dist/vanilla-extract-css-injectStyles.cjs.prod.js'); | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('./transformCss-ae7729c7.cjs.prod.js'); | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('./transformCss-8889ba59.cjs.prod.js'); | ||
var adapter_dist_vanillaExtractCssAdapter = require('../adapter/dist/vanilla-extract-css-adapter.cjs.prod.js'); | ||
@@ -310,3 +310,3 @@ var hash = require('@emotion/hash'); | ||
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); | ||
@@ -319,3 +319,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 = []; | ||
@@ -336,3 +336,3 @@ var styleRules = []; | ||
classList: result | ||
}); | ||
}, fileScope_dist_vanillaExtractCssFileScope.getFileScope()); | ||
if (styleRules.length > 0) { | ||
@@ -362,3 +362,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({ | ||
@@ -365,0 +365,0 @@ type: 'local', |
import { injectStyles } from '../injectStyles/dist/vanilla-extract-css-injectStyles.esm.js'; | ||
import { t as transformCss, _ as _objectSpread2, d as dudupeAndJoinClassList } from './transformCss-a82765b3.esm.js'; | ||
import { t as transformCss, _ as _objectSpread2, d as dudupeAndJoinClassList } from './transformCss-b8169cf6.esm.js'; | ||
import { setAdapterIfNotSet, getIdentOption, appendCss, registerClassName, registerComposition, markCompositionUsed } from '../adapter/dist/vanilla-extract-css-adapter.esm.js'; | ||
@@ -297,3 +297,3 @@ import hash from '@emotion/hash'; | ||
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-20232722199", | ||
"description": "Zero-runtime Stylesheets-in-TypeScript", | ||
@@ -5,0 +5,0 @@ "sideEffects": true, |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('../../dist/transformCss-9e7358cb.browser.cjs.js'); | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('../../dist/transformCss-df0a3c3a.browser.cjs.js'); | ||
require('@vanilla-extract/private'); | ||
@@ -19,1 +19,2 @@ require('cssesc'); | ||
exports.transformCss = transformCss_dist_vanillaExtractCssTransformCss.transformCss; | ||
exports.transformCssToStylesheet = transformCss_dist_vanillaExtractCssTransformCss.transformCssToStylesheet; |
@@ -1,2 +0,2 @@ | ||
export { t as transformCss } from '../../dist/transformCss-b0591097.browser.esm.js'; | ||
export { t as transformCss, a as transformCssToStylesheet } from '../../dist/transformCss-a950d0f2.browser.esm.js'; | ||
import '@vanilla-extract/private'; | ||
@@ -3,0 +3,0 @@ import 'cssesc'; |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('../../dist/transformCss-0596b831.cjs.dev.js'); | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('../../dist/transformCss-4e7f2af1.cjs.dev.js'); | ||
require('@vanilla-extract/private'); | ||
@@ -19,1 +19,2 @@ require('cssesc'); | ||
exports.transformCss = transformCss_dist_vanillaExtractCssTransformCss.transformCss; | ||
exports.transformCssToStylesheet = transformCss_dist_vanillaExtractCssTransformCss.transformCssToStylesheet; |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('../../dist/transformCss-ae7729c7.cjs.prod.js'); | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('../../dist/transformCss-8889ba59.cjs.prod.js'); | ||
require('@vanilla-extract/private'); | ||
@@ -19,1 +19,2 @@ require('cssesc'); | ||
exports.transformCss = transformCss_dist_vanillaExtractCssTransformCss.transformCss; | ||
exports.transformCssToStylesheet = transformCss_dist_vanillaExtractCssTransformCss.transformCssToStylesheet; |
@@ -1,2 +0,2 @@ | ||
export { t as transformCss } from '../../dist/transformCss-a82765b3.esm.js'; | ||
export { t as transformCss, a as transformCssToStylesheet } from '../../dist/transformCss-b8169cf6.esm.js'; | ||
import '@vanilla-extract/private'; | ||
@@ -3,0 +3,0 @@ import 'cssesc'; |
Sorry, the diff of this file is too big to display
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
977705
12019
1