@icestack/types
Advanced tools
Comparing version 0.3.4 to 0.3.5
@@ -42,11 +42,11 @@ import { Config as Config$1 } from 'tailwindcss/types/config'; | ||
type BaseOptions<T extends string = string> = { | ||
themes: Record<T, { | ||
type BaseOptions = { | ||
themes: Record<string, { | ||
selector: string; | ||
extraColors: Record<string, string>; | ||
extraVars: Record<string, string>; | ||
extraCss: CssInJs | CssInJs[]; | ||
extraCss: (CssInJs | string)[]; | ||
types: Record<string, string | Record<string, string>>; | ||
}>; | ||
extraCss: CssInJs | CssInJs[]; | ||
extraCss: (CssInJs | string)[]; | ||
}; | ||
@@ -83,2 +83,5 @@ type ModeMergeValue = { | ||
}; | ||
type UtilitiesOptions = { | ||
extraCss: (CssInJs | string)[]; | ||
}; | ||
type CodegenMode = 'styled' | 'base' | 'raw' | 'none'; | ||
@@ -96,2 +99,6 @@ type Preset = DeepPartial<Pick<CodegenOptions, 'base' | 'components' | 'global' | 'tailwindcssConfig'>>; | ||
/** | ||
* @description css utilities | ||
*/ | ||
utilities: UtilitiesOptions; | ||
/** | ||
* @description global postcss options | ||
@@ -152,2 +159,2 @@ */ | ||
export type { BaseOptions, CodegenMode, CodegenOptions, ComponentsOptions, ComponentsValue, Config, CreatePresetOptions, DeepPartial, DeepRequired, GetSchemaFn, GlobalOptions, IDefaults, ILayer, ISchema, IValue, ModeMergeValue, PrefixerOptions, Preset, 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, UtilitiesOptions, VarPrefixerOptions }; |
{ | ||
"name": "@icestack/types", | ||
"description": "The types of @icestack/ui", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"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
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
14705
154