@vanilla-extract/integration
Advanced tools
Comparing version 1.1.0 to 1.2.0
# @vanilla-extract/integration | ||
## 1.2.0 | ||
### Minor Changes | ||
- [#323](https://github.com/seek-oss/vanilla-extract/pull/323) [`1e7d647`](https://github.com/seek-oss/vanilla-extract/commit/1e7d6470398a0fbcbdef4118e678150932cd9275) Thanks [@mattcompiles](https://github.com/mattcompiles)! - Support configurable identifier types | ||
### Patch Changes | ||
- Updated dependencies [[`26832f1`](https://github.com/seek-oss/vanilla-extract/commit/26832f162e75b72f83dba0c230295a5dfed683aa), [`1e7d647`](https://github.com/seek-oss/vanilla-extract/commit/1e7d6470398a0fbcbdef4118e678150932cd9275)]: | ||
- @vanilla-extract/css@1.3.0 | ||
## 1.1.0 | ||
@@ -4,0 +15,0 @@ |
@@ -7,1 +7,2 @@ export { processVanillaFile } from './processVanillaFile'; | ||
export * from './filters'; | ||
export type { IdentifierOption } from './processVanillaFile'; |
@@ -1,2 +0,3 @@ | ||
import { FileScope } from '@vanilla-extract/css'; | ||
import { FileScope, Adapter } from '@vanilla-extract/css'; | ||
export declare type IdentifierOption = ReturnType<Adapter['getIdentOption']>; | ||
interface ProcessVanillaFileOptions { | ||
@@ -6,2 +7,3 @@ source: string; | ||
outputCss?: boolean; | ||
identOption?: IdentifierOption; | ||
serializeVirtualCssPath?: (file: { | ||
@@ -13,3 +15,3 @@ fileName: string; | ||
} | ||
export declare function processVanillaFile({ source, filePath, outputCss, serializeVirtualCssPath, }: ProcessVanillaFileOptions): string; | ||
export declare function processVanillaFile({ source, filePath, outputCss, identOption, serializeVirtualCssPath, }: ProcessVanillaFileOptions): string; | ||
export {}; |
@@ -49,2 +49,3 @@ 'use strict'; | ||
outputCss = true, | ||
identOption = process.env.NODE_ENV === 'production' ? 'short' : 'debug', | ||
serializeVirtualCssPath | ||
@@ -76,3 +77,4 @@ }) { | ||
}, | ||
onEndFileScope: () => {} | ||
onEndFileScope: () => {}, | ||
getIdentOption: () => identOption | ||
}; | ||
@@ -79,0 +81,0 @@ adapter.setAdapter(cssAdapter); |
@@ -49,2 +49,3 @@ 'use strict'; | ||
outputCss = true, | ||
identOption = 'short' , | ||
serializeVirtualCssPath | ||
@@ -76,3 +77,4 @@ }) { | ||
}, | ||
onEndFileScope: () => {} | ||
onEndFileScope: () => {}, | ||
getIdentOption: () => identOption | ||
}; | ||
@@ -79,0 +81,0 @@ adapter.setAdapter(cssAdapter); |
@@ -36,2 +36,3 @@ import { setAdapter } from '@vanilla-extract/css/adapter'; | ||
outputCss = true, | ||
identOption = process.env.NODE_ENV === 'production' ? 'short' : 'debug', | ||
serializeVirtualCssPath | ||
@@ -63,3 +64,4 @@ }) { | ||
}, | ||
onEndFileScope: () => {} | ||
onEndFileScope: () => {}, | ||
getIdentOption: () => identOption | ||
}; | ||
@@ -66,0 +68,0 @@ setAdapter(cssAdapter); |
{ | ||
"name": "@vanilla-extract/integration", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Zero-runtime Stylesheets-in-TypeScript", | ||
@@ -18,3 +18,3 @@ "main": "dist/vanilla-extract-integration.cjs.js", | ||
"dependencies": { | ||
"@vanilla-extract/css": "^1.2.0", | ||
"@vanilla-extract/css": "^1.3.0", | ||
"chalk": "^4.1.1", | ||
@@ -21,0 +21,0 @@ "dedent": "^0.7.0", |
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
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
36506
810
19
Updated@vanilla-extract/css@^1.3.0