@pandacss/types 0.0.0-dev-20221129125228 → 0.0.0-dev-20221130100250

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ export type { ConditionDetails, ConditionType, Conditions, RawCondition, Recursi
2
2
  export type { Config, UserConfig } from './config'
3
3
  export type { PropertyConfig, PropertyTransform, PropertyValues, UtilityConfig } from './utility'
4
4
  export type { StyleObject, CssKeyframes } from './system-types'
5
- export type { PatternConfig, PatternProperty, TransformHelpers } from './pattern'
5
+ export type { PatternConfig, PatternProperty, PatternHelpers } from './pattern'
6
6
  export type { RecipeConfig, RecipeVariant } from './recipe'
7
7
  export type { Composition, TextStyles, LayerStyles } from './composition'
8
8
  export type { Token, TokenCategory, TokenDataTypes, Tokens, SemanticToken, SemanticTokens } from './tokens'
package/dist/pattern.d.ts CHANGED
@@ -7,7 +7,7 @@ export type PatternProperty =
7
7
  | { type: 'token'; value: TokenCategory; property?: NativeCssProperty }
8
8
  | { type: 'string' | 'boolean' | 'number' }
9
9
 
10
- export type TransformHelpers = {
10
+ export type PatternHelpers = {
11
11
  map: (value: any, fn: (value: string) => string | undefined) => any
12
12
  }
13
13
 
@@ -23,7 +23,7 @@ export type PatternConfig = {
23
23
  /**
24
24
  * The css object this pattern will generate.
25
25
  */
26
- transform?: (props: Record<string, any>, helpers: TransformHelpers) => StyleObject
26
+ transform?: (props: Record<string, any>, helpers: PatternHelpers) => StyleObject
27
27
  /**
28
28
  * The jsx element name this pattern will generate.
29
29
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "0.0.0-dev-20221129125228",
3
+ "version": "0.0.0-dev-20221130100250",
4
4
  "description": "The types for css panda",
5
5
  "main": "dist/index.d.ts",
6
6
  "author": "Segun Adebayo <joseshegs@gmail.com>",