@pandacss/types
Advanced tools
Comparing version 0.0.0-dev-20221129125228 to 0.0.0-dev-20221130100047
@@ -5,3 +5,3 @@ export type { ConditionDetails, ConditionType, Conditions, RawCondition, RecursiveCondition } from './conditions' | ||
export type { StyleObject, CssKeyframes } from './system-types' | ||
export type { PatternConfig, PatternProperty, TransformHelpers } from './pattern' | ||
export type { PatternConfig, PatternProperty, PatternHelpers } from './pattern' | ||
export type { RecipeConfig, RecipeVariant } from './recipe' | ||
@@ -8,0 +8,0 @@ export type { Composition, TextStyles, LayerStyles } from './composition' |
@@ -10,3 +10,3 @@ import type { NativeCssProperty, StyleObject } from './system-types' | ||
export type TransformHelpers = { | ||
export type PatternHelpers = { | ||
map: (value: any, fn: (value: string) => string | undefined) => any | ||
@@ -27,3 +27,3 @@ } | ||
*/ | ||
transform?: (props: Record<string, any>, helpers: TransformHelpers) => StyleObject | ||
transform?: (props: Record<string, any>, helpers: PatternHelpers) => StyleObject | ||
/** | ||
@@ -30,0 +30,0 @@ * The jsx element name this pattern will generate. |
{ | ||
"name": "@pandacss/types", | ||
"version": "0.0.0-dev-20221129125228", | ||
"version": "0.0.0-dev-20221130100047", | ||
"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
879449