@icestack/postcss-utils
Advanced tools
Comparing version 1.3.3 to 1.3.4
export { compressCssSelector, mapCss2JsArray, recursiveNodes, transformCss2Js } from './utils.js'; | ||
export { getJsProcess, objectify, parseJs, postcssProcess, stringify } from './js.js'; | ||
export { mapCssStringToAst, merge, mergeLeftRight, parse } from './scss.js'; | ||
export { CommentType, CvaParams, extractCvaParamsPlugin, getCssVarsPrefixerPlugin, getPrefixerPlugin, initTailwindcssConfig, resolvePrefixOption, resolveTailwindcss, resolveVarPrefixOption } from './plugins.js'; | ||
export { AcceptedPlugin, AtRule, Comment, Declaration, Root, Rule } from 'postcss'; | ||
export { generateCva } from 'postcss-cva/generator'; | ||
export { default as extractCvaParamsPlugin } from 'postcss-cva/extract'; | ||
export { CommentType, CvaParams } from 'postcss-cva/types'; | ||
export { getCssVarsPrefixerPlugin, getPrefixerPlugin, initTailwindcssConfig, resolvePrefixOption, resolveTailwindcss, resolveVarPrefixOption } from './plugins.js'; | ||
export { CssInJs, PrefixerOptions, VarPrefixerOptions } from '@icestack/types'; | ||
import 'postcss-js'; | ||
import 'tailwindcss/types/config'; |
import postcssJs, { CssInJs } from 'postcss-js'; | ||
import postcss__default, { Root, AcceptedPlugin, LazyResult, Document } from 'postcss'; | ||
export { generateCva } from 'postcss-cva/generator'; | ||
@@ -4,0 +5,0 @@ declare function getJsProcess(): { |
import * as postcss from 'postcss'; | ||
import postcss__default, { PluginCreator, LazyResult, Result, Root } from 'postcss'; | ||
import postcss__default, { LazyResult, Result, Root } from 'postcss'; | ||
import { VarPrefixerOptions, CodegenOptions, DeepPartial, PrefixerOptions } from '@icestack/types'; | ||
export { default as extractCvaParamsPlugin } from 'postcss-cva/extract'; | ||
export { CommentType, CvaParams } from 'postcss-cva/types'; | ||
import { Config } from 'tailwindcss/types/config'; | ||
type CommentType = 'base' | 'variant' | 'compoundVariant' | 'defaultVariant'; | ||
interface CvaParams { | ||
base: string[]; | ||
variants: Record<string, Record<string, string[]>>; | ||
compoundVariants: ({ | ||
class: string[]; | ||
} & Record<string, string>)[]; | ||
defaultVariants: Record<string, string>; | ||
} | ||
declare const creator: PluginCreator<{ | ||
selector?: string; | ||
prefix?: string; | ||
process?: (res?: CvaParams) => void; | ||
}>; | ||
declare function getPlugin(options?: string | false | VarPrefixerOptions): postcss.Plugin | postcss.Processor | undefined; | ||
@@ -34,2 +21,2 @@ | ||
export { type CommentType, type CvaParams, creator as extractCvaParamsPlugin, getPlugin as getCssVarsPrefixerPlugin, getPrefixerPlugin, initTailwindcssConfig, resolvePrefixOption, resolveTailwindcss, resolveVarPrefixOption }; | ||
export { getPlugin as getCssVarsPrefixerPlugin, getPrefixerPlugin, initTailwindcssConfig, resolvePrefixOption, resolveTailwindcss, resolveVarPrefixOption }; |
{ | ||
"name": "@icestack/postcss-utils", | ||
"description": "The postcss utils of @icestack/ui", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"keywords": [ | ||
@@ -80,5 +80,6 @@ "postcss", | ||
"tailwindcss": "^3.4.1", | ||
"@icestack/shared": "^1.3.3", | ||
"@icestack/types": "^1.3.3", | ||
"postcss-custom-property-prefixer": "^1.0.6" | ||
"@icestack/shared": "^1.3.4", | ||
"@icestack/types": "^1.3.4", | ||
"postcss-custom-property-prefixer": "^1.0.6", | ||
"postcss-cva": "^0.1.3" | ||
}, | ||
@@ -85,0 +86,0 @@ "author": "SonOfMagic <qq1324318532@gmail.com>", |
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
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
46263
13
984
+ Addedpostcss-cva@^0.1.3
+ Added@babel/generator@7.26.2(transitive)
+ Added@babel/helper-string-parser@7.25.9(transitive)
+ Added@babel/helper-validator-identifier@7.25.9(transitive)
+ Added@babel/parser@7.26.2(transitive)
+ Added@babel/types@7.26.0(transitive)
+ Addedjsesc@3.0.2(transitive)
+ Addedpicomatch@3.0.1(transitive)
+ Addedpostcss-cva@0.1.7(transitive)
Updated@icestack/shared@^1.3.4
Updated@icestack/types@^1.3.4