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

postcss-cva

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-cva - npm Package Compare versions

Comparing version 0.1.7 to 0.2.0

6

dist/generator.d.ts

@@ -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 {

2

package.json
{
"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

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