@pandacss/types 0.12.1 → 0.13.0

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/parser.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import type { BoxNodeMap, BoxNodeLiteral, Unboxed } from '@pandacss/extractor'
1
+ import type { BoxNodeMap, BoxNodeLiteral, Unboxed, BoxNodeArray } from '@pandacss/extractor'
2
2
 
3
3
  export type ResultItem = {
4
4
  name?: string
5
5
  data: Array<Unboxed['raw']>
6
6
  type?: 'object' | 'cva' | 'sva' | 'pattern' | 'recipe' | 'jsx-factory' | 'jsx-pattern' | 'jsx-recipe' | 'jsx'
7
- box: BoxNodeMap | BoxNodeLiteral
7
+ box: BoxNodeMap | BoxNodeLiteral | BoxNodeArray
8
8
  }
9
9
 
10
10
  export type ParserResultType = {
package/dist/recipe.d.ts CHANGED
@@ -30,7 +30,7 @@ export type RecipeRuntimeFn<T extends RecipeVariantRecord> = RecipeVariantFn<T>
30
30
  __type: RecipeSelection<T>
31
31
  variantKeys: (keyof T)[]
32
32
  variantMap: RecipeVariantMap<T>
33
- resolve: (props: RecipeSelection<T>) => SystemStyleObject
33
+ raw: (props?: RecipeSelection<T>) => SystemStyleObject
34
34
  config: RecipeConfig<T>
35
35
  splitVariantProps<Props extends RecipeSelection<T>>(
36
36
  props: Props,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "0.12.1",
3
+ "version": "0.13.0",
4
4
  "description": "The types for css panda",
5
5
  "main": "dist/index.d.ts",
6
6
  "author": "Segun Adebayo <joseshegs@gmail.com>",
@@ -17,7 +17,7 @@
17
17
  "hookable": "5.5.3",
18
18
  "ncp": "^2.0.0",
19
19
  "pkg-types": "1.0.3",
20
- "@pandacss/extractor": "0.12.1"
20
+ "@pandacss/extractor": "0.13.0"
21
21
  },
22
22
  "scripts": {
23
23
  "build": "tsx scripts/build.ts",