postcss-cva
Advanced tools
Comparing version 0.1.7 to 0.2.0
@@ -8,2 +8,8 @@ import * as _babelGenerate from '@babel/generator'; | ||
importFrom?: string; | ||
exports?: Partial<{ | ||
base: boolean; | ||
variants: boolean; | ||
compoundVariants: boolean; | ||
defaultVariants: boolean; | ||
}>; | ||
base: string[]; | ||
@@ -10,0 +16,0 @@ variants: Record<string, Record<string, string[]>>; |
@@ -12,2 +12,8 @@ type FilterPattern = ReadonlyArray<string | RegExp> | string | RegExp | null; | ||
exclude: FilterPattern; | ||
exports: Partial<{ | ||
base: boolean; | ||
variants: boolean; | ||
compoundVariants: boolean; | ||
defaultVariants: boolean; | ||
}>; | ||
} | ||
@@ -14,0 +20,0 @@ interface CvaParams { |
{ | ||
"name": "postcss-cva", | ||
"description": "generate cva functions by css comment", | ||
"version": "0.1.7", | ||
"version": "0.2.0", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "cva", |
@@ -25,2 +25,3 @@ # postcss-cva | ||
- [remove](#remove) | ||
- [exports](#exports) | ||
- [include / exclude](#include--exclude) | ||
@@ -249,2 +250,20 @@ - [Troubleshooting](#troubleshooting) | ||
### exports | ||
Type: `Partial<{ | ||
base: boolean | ||
variants: boolean | ||
compoundVariants: boolean | ||
defaultVariants: boolean | ||
}>` | ||
Default: `{ | ||
base: true, | ||
variants: true, | ||
compoundVariants: true, | ||
defaultVariants: true | ||
}` | ||
Export some other variables for use | ||
### include / exclude | ||
@@ -251,0 +270,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
61072
1395
392
0