@pandacss/types 0.0.0-dev-20230413135202 → 0.0.0-dev-20230413141731
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 +3 -3
- package/dist/recipe.d.ts +5 -2
- package/package.json +2 -2
package/dist/parser.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { BoxNodeMap,
|
|
1
|
+
import type { BoxNodeMap, Unboxed } from '@pandacss/extractor'
|
|
2
2
|
|
|
3
3
|
export type ResultItem = {
|
|
4
4
|
name?: string
|
|
5
5
|
data: Array<Unboxed['raw']>
|
|
6
|
-
type?:
|
|
7
|
-
box?:
|
|
6
|
+
type?: 'object' | 'cva' | 'pattern' | 'recipe' | 'jsx-factory' | 'jsx-pattern' | 'jsx-recipe' | 'jsx'
|
|
7
|
+
box?: BoxNodeMap
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
export type ParserResult = {
|
package/dist/recipe.d.ts
CHANGED
|
@@ -45,7 +45,10 @@ export type RecipeConfig<T extends RecipeVariantRecord = RecipeVariantRecord> =
|
|
|
45
45
|
*/
|
|
46
46
|
description?: string
|
|
47
47
|
/**
|
|
48
|
-
* The jsx elements to track for this recipe.
|
|
48
|
+
* The jsx elements to track for this recipe. Can be string or Regexp.
|
|
49
|
+
*
|
|
50
|
+
* @default capitalize(recipe.name)
|
|
51
|
+
* @example ['Button', 'Link', /Button$/]
|
|
49
52
|
*/
|
|
50
|
-
jsx?: string
|
|
53
|
+
jsx?: Array<string | RegExp>
|
|
51
54
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/types",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20230413141731",
|
|
4
4
|
"description": "The types for css panda",
|
|
5
5
|
"main": "dist/index.d.ts",
|
|
6
6
|
"author": "Segun Adebayo <joseshegs@gmail.com>",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"csstype": "3.1.2"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@pandacss/extractor": "0.0.0-dev-
|
|
19
|
+
"@pandacss/extractor": "0.0.0-dev-20230413141731"
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
22
|
"build": "tsx scripts/build.ts",
|