@pandacss/types
Advanced tools
Comparing version 0.0.0-dev-20221218120149 to 0.0.0-dev-20221218210650
@@ -11,1 +11,2 @@ export type { ConditionDetails, ConditionType, Conditions, RawCondition, RecursiveCondition } from './conditions' | ||
export type { Parts, Part } from './parts' | ||
export type { StaticCssOptions } from './static-css' |
@@ -1,2 +0,2 @@ | ||
interface CssRule { | ||
type CssRule = { | ||
/** | ||
@@ -6,3 +6,5 @@ * The css properties to generate utilities for. | ||
*/ | ||
properties: string[] | ||
properties: { | ||
[property: string]: string[] | boolean | ||
} | ||
/** | ||
@@ -17,14 +19,8 @@ * The css conditions to generate utilities for. | ||
responsive?: boolean | ||
/** | ||
* The values to generate utilities for. | ||
* @example ['2', '40px'] | ||
* @example "colors" | ||
*/ | ||
values?: string | string[] | ||
} | ||
interface RecipeProperties { | ||
conditions: string[] | ||
[variant: string]: string[] | ||
} | ||
type RecipeRule = { | ||
conditions?: string[] | ||
responsive?: boolean | ||
} & { [variant: string]: boolean | string[] } | ||
@@ -40,4 +36,4 @@ export type StaticCssOptions = { | ||
recipes?: { | ||
[recipe: string]: RecipeProperties[] | ||
[recipe: string]: RecipeRule[] | ||
} | ||
} |
{ | ||
"name": "@pandacss/types", | ||
"version": "0.0.0-dev-20221218120149", | ||
"version": "0.0.0-dev-20221218210650", | ||
"description": "The types for css panda", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.d.ts", |
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
879530
20452