@icestack/types
Advanced tools
Comparing version 0.2.4 to 0.2.5
@@ -1,2 +0,3 @@ | ||
import { Config as Config$1 } from 'tailwindcss'; | ||
import { Config as Config$1 } from 'tailwindcss/types/config'; | ||
export { Config as TailwindcssConfig } from 'tailwindcss/types/config'; | ||
import { CssInJs } from 'postcss-js'; | ||
@@ -81,12 +82,50 @@ export { CssInJs } from 'postcss-js'; | ||
type CodegenOptions = { | ||
/** | ||
* @description load css mode | ||
*/ | ||
mode: CodegenMode; | ||
/** | ||
* @description custom all your components | ||
*/ | ||
components: ComponentsOptions; | ||
/** | ||
* @description global postcss options | ||
*/ | ||
global: GlobalOptions; | ||
/** | ||
* @description set themes and all types | ||
*/ | ||
base: BaseOptions; | ||
/** | ||
* @description css var prefix | ||
* @example '--primary' -> '--ice-primary' | ||
* @default '--ice-' | ||
*/ | ||
varPrefix: VarPrefixerOptions; | ||
/** | ||
* @description if console.log some debug information | ||
* @default true | ||
*/ | ||
log: boolean; | ||
/** | ||
* @type PrefixerOptions | ||
* @description PrefixerOptions, set prefix to your class and ignore class | ||
*/ | ||
prefix: PrefixerOptions; | ||
/** | ||
* @description load presets | ||
*/ | ||
presets: (DeepPartial<CodegenOptions> | ((options?: any) => DeepPartial<CodegenOptions>))[]; | ||
/** | ||
* @description required! set output dir path. | ||
*/ | ||
outdir: string; | ||
/** | ||
* @description if run build without any output | ||
* @default false | ||
*/ | ||
dryRun: boolean; | ||
/** | ||
* @description your custom tailwindcss config to resolve `@apply` | ||
*/ | ||
tailwindcssConfig: Config$1; | ||
@@ -93,0 +132,0 @@ }; |
{ | ||
"name": "@icestack/types", | ||
"description": "The types of @icestack/ui", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"keywords": [ | ||
@@ -26,3 +26,4 @@ "types", | ||
"postcss-js": "^4.0.1", | ||
"tailwindcss": "^3.3.6" | ||
"tailwindcss": "^3.3.6", | ||
"tsd": "^0.30.0" | ||
}, | ||
@@ -29,0 +30,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
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
13997
144
3