postcss-cva
Advanced tools
Comparing version 0.0.2 to 0.1.0
@@ -1,33 +0,11 @@ | ||
import { Comment, PluginCreator } from 'postcss'; | ||
import { C as CommentType, a as CvaParams } from './shared/postcss-cva.be8f4539.js'; | ||
import { PluginCreator } from 'postcss'; | ||
import { C as CvaParams } from './shared/postcss-cva.6632d924.js'; | ||
declare const baseRegex: RegExp; | ||
declare const defineBaseRegex: RegExp; | ||
declare const variantRegex: RegExp; | ||
declare const defineVariantRegex: RegExp; | ||
declare const compoundVariantRegex: RegExp; | ||
declare const defineCompoundVariantRegex: RegExp; | ||
declare const defaultVariantRegex: RegExp; | ||
declare const globalOptionsRegex: RegExp; | ||
declare function getSuffix(text: string): { | ||
type: CommentType; | ||
suffix: string; | ||
next: boolean; | ||
} | undefined; | ||
declare function pickComment(comment: Comment): { | ||
type: CommentType; | ||
suffix: string; | ||
next: boolean; | ||
} | undefined; | ||
declare function extractParams(text: string): { | ||
query: Record<string, { | ||
value: string; | ||
}>; | ||
params: string[]; | ||
}; | ||
declare const creator: PluginCreator<{ | ||
prefix?: string; | ||
process?: (res?: CvaParams) => void; | ||
remove?: boolean; | ||
filter?: (id: unknown) => boolean; | ||
}>; | ||
export { baseRegex, compoundVariantRegex, creator as default, defaultVariantRegex, defineBaseRegex, defineCompoundVariantRegex, defineVariantRegex, extractParams, getSuffix, globalOptionsRegex, pickComment, variantRegex }; | ||
export { creator as default }; |
import { PluginCreator } from 'postcss'; | ||
import { U as UserDefineOption } from './shared/postcss-cva.be8f4539.js'; | ||
import { U as UserDefineOption } from './shared/postcss-cva.6632d924.js'; | ||
@@ -4,0 +4,0 @@ declare const creator: PluginCreator<Partial<UserDefineOption>>; |
{ | ||
"name": "postcss-cva", | ||
"description": "generate cva functions by css comment", | ||
"version": "0.0.2", | ||
"version": "0.1.0", | ||
"keywords": [ | ||
@@ -53,2 +53,3 @@ "cva", | ||
"lodash": "^4.17.21", | ||
"picomatch": "^3.0.1", | ||
"postcss-selector-parser": "^6.0.15", | ||
@@ -68,5 +69,7 @@ "@icestack/shared": "^1.3.3" | ||
"devDependencies": { | ||
"@types/picomatch": "^2.3.3", | ||
"postcss": "^8.4.33" | ||
}, | ||
"scripts": { | ||
"dev": "unbuild --sourcemap", | ||
"build": "unbuild", | ||
@@ -73,0 +76,0 @@ "test": "vitest run", |
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
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
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
46710
1194
6
2
+ Addedpicomatch@^3.0.1
+ Addedpicomatch@3.0.1(transitive)