@icestack/types
Advanced tools
Comparing version 0.2.9 to 0.3.0
@@ -48,4 +48,4 @@ import { Config as Config$1 } from 'tailwindcss/types/config'; | ||
extraCss: CssInJs | CssInJs[]; | ||
types: Record<string, string | Record<string, string>>; | ||
}>; | ||
types: Record<string, Record<keyof BaseOptions['themes'], string | Record<string, string>>>; | ||
extraCss: CssInJs | CssInJs[]; | ||
@@ -84,2 +84,3 @@ }; | ||
type CodegenMode = 'styled' | 'base' | 'raw' | 'none'; | ||
type Preset = DeepPartial<Pick<CodegenOptions, 'base' | 'components' | 'global' | 'tailwindcssConfig'>>; | ||
type CodegenOptions = { | ||
@@ -121,3 +122,3 @@ /** | ||
*/ | ||
presets: (DeepPartial<CodegenOptions> | ((options?: any) => DeepPartial<CodegenOptions>))[]; | ||
presets: (DeepPartial<Preset> | ((options?: any) => DeepPartial<Preset>))[]; | ||
/** | ||
@@ -151,2 +152,2 @@ * @description required! set output dir path. | ||
export type { BaseOptions, CodegenMode, CodegenOptions, ComponentsOptions, ComponentsValue, Config, CreatePresetOptions, DeepPartial, DeepRequired, GetSchemaFn, GlobalOptions, IDefaults, ILayer, ISchema, IValue, ModeMergeValue, PrefixerOptions, SchemaFnOptions, TailwindcssPluginOptions, VarPrefixerOptions }; | ||
export type { BaseOptions, CodegenMode, CodegenOptions, ComponentsOptions, ComponentsValue, Config, CreatePresetOptions, DeepPartial, DeepRequired, GetSchemaFn, GlobalOptions, IDefaults, ILayer, ISchema, IValue, ModeMergeValue, PrefixerOptions, Preset, SchemaFnOptions, TailwindcssPluginOptions, VarPrefixerOptions }; |
{ | ||
"name": "@icestack/types", | ||
"description": "The types of @icestack/ui", | ||
"version": "0.2.9", | ||
"version": "0.3.0", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "types", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
14267
147