@vanilla-extract/css
Advanced tools
Comparing version 0.0.0-create-compiler-api-20232723636 to 0.0.0-create-compiler-api-20232803013
@@ -48,2 +48,9 @@ 'use strict'; | ||
}; | ||
var onBeginFileScope = function onBeginFileScope() { | ||
var _currentAdapter$onBeg, _currentAdapter; | ||
for (var _len = arguments.length, props = new Array(_len), _key = 0; _key < _len; _key++) { | ||
props[_key] = arguments[_key]; | ||
} | ||
return (_currentAdapter$onBeg = (_currentAdapter = currentAdapter()).onBeginFileScope) === null || _currentAdapter$onBeg === void 0 ? void 0 : _currentAdapter$onBeg.call(_currentAdapter, ...props); | ||
}; | ||
var onEndFileScope = function onEndFileScope() { | ||
@@ -66,2 +73,3 @@ return currentAdapter().onEndFileScope(...arguments); | ||
exports.mockAdapter = mockAdapter; | ||
exports.onBeginFileScope = onBeginFileScope; | ||
exports.onEndFileScope = onEndFileScope; | ||
@@ -68,0 +76,0 @@ exports.registerClassName = registerClassName; |
@@ -44,2 +44,9 @@ var mockAdapter = { | ||
}; | ||
var onBeginFileScope = function onBeginFileScope() { | ||
var _currentAdapter$onBeg, _currentAdapter; | ||
for (var _len = arguments.length, props = new Array(_len), _key = 0; _key < _len; _key++) { | ||
props[_key] = arguments[_key]; | ||
} | ||
return (_currentAdapter$onBeg = (_currentAdapter = currentAdapter()).onBeginFileScope) === null || _currentAdapter$onBeg === void 0 ? void 0 : _currentAdapter$onBeg.call(_currentAdapter, ...props); | ||
}; | ||
var onEndFileScope = function onEndFileScope() { | ||
@@ -58,2 +65,2 @@ return currentAdapter().onEndFileScope(...arguments); | ||
export { appendCss, getIdentOption, markCompositionUsed, mockAdapter, onEndFileScope, registerClassName, registerComposition, removeAdapter, setAdapter, setAdapterIfNotSet }; | ||
export { appendCss, getIdentOption, markCompositionUsed, mockAdapter, onBeginFileScope, onEndFileScope, registerClassName, registerComposition, removeAdapter, setAdapter, setAdapterIfNotSet }; |
@@ -184,2 +184,3 @@ import { AtRule, Properties } from 'csstype'; | ||
markCompositionUsed: (identifier: string) => void; | ||
onBeginFileScope?: (fileScope: FileScope) => void; | ||
onEndFileScope: (fileScope: FileScope) => void; | ||
@@ -197,5 +198,6 @@ getIdentOption: () => IdentOption; | ||
declare const markCompositionUsed: Adapter['markCompositionUsed']; | ||
declare const onBeginFileScope: NonNullable<Adapter['onBeginFileScope']>; | ||
declare const onEndFileScope: Adapter['onEndFileScope']; | ||
declare const getIdentOption: Adapter['getIdentOption']; | ||
export { appendCss, getIdentOption, markCompositionUsed, mockAdapter, onEndFileScope, registerClassName, registerComposition, removeAdapter, setAdapter, setAdapterIfNotSet }; | ||
export { appendCss, getIdentOption, markCompositionUsed, mockAdapter, onBeginFileScope, onEndFileScope, registerClassName, registerComposition, removeAdapter, setAdapter, setAdapterIfNotSet }; |
@@ -48,2 +48,9 @@ 'use strict'; | ||
}; | ||
var onBeginFileScope = function onBeginFileScope() { | ||
var _currentAdapter$onBeg, _currentAdapter; | ||
for (var _len = arguments.length, props = new Array(_len), _key = 0; _key < _len; _key++) { | ||
props[_key] = arguments[_key]; | ||
} | ||
return (_currentAdapter$onBeg = (_currentAdapter = currentAdapter()).onBeginFileScope) === null || _currentAdapter$onBeg === void 0 ? void 0 : _currentAdapter$onBeg.call(_currentAdapter, ...props); | ||
}; | ||
var onEndFileScope = function onEndFileScope() { | ||
@@ -66,2 +73,3 @@ return currentAdapter().onEndFileScope(...arguments); | ||
exports.mockAdapter = mockAdapter; | ||
exports.onBeginFileScope = onBeginFileScope; | ||
exports.onEndFileScope = onEndFileScope; | ||
@@ -68,0 +76,0 @@ exports.registerClassName = registerClassName; |
@@ -48,2 +48,9 @@ 'use strict'; | ||
}; | ||
var onBeginFileScope = function onBeginFileScope() { | ||
var _currentAdapter$onBeg, _currentAdapter; | ||
for (var _len = arguments.length, props = new Array(_len), _key = 0; _key < _len; _key++) { | ||
props[_key] = arguments[_key]; | ||
} | ||
return (_currentAdapter$onBeg = (_currentAdapter = currentAdapter()).onBeginFileScope) === null || _currentAdapter$onBeg === void 0 ? void 0 : _currentAdapter$onBeg.call(_currentAdapter, ...props); | ||
}; | ||
var onEndFileScope = function onEndFileScope() { | ||
@@ -66,2 +73,3 @@ return currentAdapter().onEndFileScope(...arguments); | ||
exports.mockAdapter = mockAdapter; | ||
exports.onBeginFileScope = onBeginFileScope; | ||
exports.onEndFileScope = onEndFileScope; | ||
@@ -68,0 +76,0 @@ exports.registerClassName = registerClassName; |
@@ -44,2 +44,9 @@ var mockAdapter = { | ||
}; | ||
var onBeginFileScope = function onBeginFileScope() { | ||
var _currentAdapter$onBeg, _currentAdapter; | ||
for (var _len = arguments.length, props = new Array(_len), _key = 0; _key < _len; _key++) { | ||
props[_key] = arguments[_key]; | ||
} | ||
return (_currentAdapter$onBeg = (_currentAdapter = currentAdapter()).onBeginFileScope) === null || _currentAdapter$onBeg === void 0 ? void 0 : _currentAdapter$onBeg.call(_currentAdapter, ...props); | ||
}; | ||
var onEndFileScope = function onEndFileScope() { | ||
@@ -58,2 +65,2 @@ return currentAdapter().onEndFileScope(...arguments); | ||
export { appendCss, getIdentOption, markCompositionUsed, mockAdapter, onEndFileScope, registerClassName, registerComposition, removeAdapter, setAdapter, setAdapterIfNotSet }; | ||
export { appendCss, getIdentOption, markCompositionUsed, mockAdapter, onBeginFileScope, onEndFileScope, registerClassName, registerComposition, removeAdapter, setAdapter, setAdapterIfNotSet }; |
@@ -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-2c2722cf.browser.cjs.js'); | ||
var adapter_dist_vanillaExtractCssAdapter = require('../adapter/dist/vanilla-extract-css-adapter.browser.cjs.js'); | ||
@@ -9,0 +9,0 @@ var hash = require('@emotion/hash'); |
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-fcdcbdb1.browser.esm.js'; | ||
import { setAdapterIfNotSet, getIdentOption, appendCss, registerClassName, registerComposition, markCompositionUsed } from '../adapter/dist/vanilla-extract-css-adapter.browser.esm.js'; | ||
@@ -4,0 +4,0 @@ import hash from '@emotion/hash'; |
@@ -192,2 +192,3 @@ import { Properties, AtRule } from 'csstype'; | ||
markCompositionUsed: (identifier: string) => void; | ||
onBeginFileScope?: (fileScope: FileScope) => void; | ||
onEndFileScope: (fileScope: FileScope) => void; | ||
@@ -194,0 +195,0 @@ getIdentOption: () => IdentOption; |
@@ -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-184be464.cjs.dev.js'); | ||
var adapter_dist_vanillaExtractCssAdapter = require('../adapter/dist/vanilla-extract-css-adapter.cjs.dev.js'); | ||
@@ -9,0 +9,0 @@ var hash = require('@emotion/hash'); |
@@ -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-4885ba82.cjs.prod.js'); | ||
var adapter_dist_vanillaExtractCssAdapter = require('../adapter/dist/vanilla-extract-css-adapter.cjs.prod.js'); | ||
@@ -9,0 +9,0 @@ var hash = require('@emotion/hash'); |
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-e42afd58.esm.js'; | ||
import { setAdapterIfNotSet, getIdentOption, appendCss, registerClassName, registerComposition, markCompositionUsed } from '../adapter/dist/vanilla-extract-css-adapter.esm.js'; | ||
@@ -4,0 +4,0 @@ import hash from '@emotion/hash'; |
@@ -18,6 +18,8 @@ 'use strict'; | ||
refCounter = 0; | ||
fileScopes.unshift({ | ||
var fileScope = { | ||
filePath, | ||
packageName | ||
}); | ||
}; | ||
fileScopes.unshift(fileScope); | ||
adapter_dist_vanillaExtractCssAdapter.onBeginFileScope(fileScope); | ||
} | ||
@@ -24,0 +26,0 @@ function endFileScope() { |
import { _ as _taggedTemplateLiteral } from '../../dist/taggedTemplateLiteral-8e47dbd7.browser.esm.js'; | ||
import outdent from 'outdent'; | ||
import { onEndFileScope } from '../../adapter/dist/vanilla-extract-css-adapter.browser.esm.js'; | ||
import { onBeginFileScope, onEndFileScope } from '../../adapter/dist/vanilla-extract-css-adapter.browser.esm.js'; | ||
@@ -10,6 +10,8 @@ var _templateObject; | ||
refCounter = 0; | ||
fileScopes.unshift({ | ||
var fileScope = { | ||
filePath, | ||
packageName | ||
}); | ||
}; | ||
fileScopes.unshift(fileScope); | ||
onBeginFileScope(fileScope); | ||
} | ||
@@ -16,0 +18,0 @@ function endFileScope() { |
@@ -18,6 +18,8 @@ 'use strict'; | ||
refCounter = 0; | ||
fileScopes.unshift({ | ||
var fileScope = { | ||
filePath, | ||
packageName | ||
}); | ||
}; | ||
fileScopes.unshift(fileScope); | ||
adapter_dist_vanillaExtractCssAdapter.onBeginFileScope(fileScope); | ||
} | ||
@@ -24,0 +26,0 @@ function endFileScope() { |
@@ -18,6 +18,8 @@ 'use strict'; | ||
refCounter = 0; | ||
fileScopes.unshift({ | ||
var fileScope = { | ||
filePath, | ||
packageName | ||
}); | ||
}; | ||
fileScopes.unshift(fileScope); | ||
adapter_dist_vanillaExtractCssAdapter.onBeginFileScope(fileScope); | ||
} | ||
@@ -24,0 +26,0 @@ function endFileScope() { |
import { _ as _taggedTemplateLiteral } from '../../dist/taggedTemplateLiteral-10998315.esm.js'; | ||
import outdent from 'outdent'; | ||
import { onEndFileScope } from '../../adapter/dist/vanilla-extract-css-adapter.esm.js'; | ||
import { onBeginFileScope, onEndFileScope } from '../../adapter/dist/vanilla-extract-css-adapter.esm.js'; | ||
@@ -10,6 +10,8 @@ var _templateObject; | ||
refCounter = 0; | ||
fileScopes.unshift({ | ||
var fileScope = { | ||
filePath, | ||
packageName | ||
}); | ||
}; | ||
fileScopes.unshift(fileScope); | ||
onBeginFileScope(fileScope); | ||
} | ||
@@ -16,0 +18,0 @@ function endFileScope() { |
{ | ||
"name": "@vanilla-extract/css", | ||
"version": "0.0.0-create-compiler-api-20232723636", | ||
"version": "0.0.0-create-compiler-api-20232803013", | ||
"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-2c2722cf.browser.cjs.js'); | ||
require('@vanilla-extract/private'); | ||
@@ -8,0 +8,0 @@ require('cssesc'); |
@@ -1,2 +0,2 @@ | ||
export { t as transformCss } from '../../dist/transformCss-b0591097.browser.esm.js'; | ||
export { t as transformCss } from '../../dist/transformCss-fcdcbdb1.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-184be464.cjs.dev.js'); | ||
require('@vanilla-extract/private'); | ||
@@ -8,0 +8,0 @@ require('cssesc'); |
@@ -5,3 +5,3 @@ 'use strict'; | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('../../dist/transformCss-ae7729c7.cjs.prod.js'); | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('../../dist/transformCss-4885ba82.cjs.prod.js'); | ||
require('@vanilla-extract/private'); | ||
@@ -8,0 +8,0 @@ require('cssesc'); |
@@ -1,2 +0,2 @@ | ||
export { t as transformCss } from '../../dist/transformCss-a82765b3.esm.js'; | ||
export { t as transformCss } from '../../dist/transformCss-e42afd58.esm.js'; | ||
import '@vanilla-extract/private'; | ||
@@ -3,0 +3,0 @@ import 'cssesc'; |
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
302362
7931
1