@pandacss/types 0.8.0 → 0.9.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/pattern.d.ts CHANGED
@@ -39,7 +39,14 @@ export type PatternConfig<T extends PatternProperties = PatternProperties> = {
39
39
  /**
40
40
  * The jsx element name this pattern will generate.
41
41
  */
42
- jsx?: string
42
+ jsxName?: string
43
+ /**
44
+ * The jsx elements to track for this pattern. Can be string or Regexp.
45
+ *
46
+ * @default capitalize(pattern.name)
47
+ * @example ['Button', 'Link', /Button$/]
48
+ */
49
+ jsx?: Array<string | RegExp>
43
50
  /**
44
51
  * Whether to only generate types for the specified properties.
45
52
  * This will disallow css properties
package/dist/recipe.d.ts CHANGED
@@ -62,7 +62,7 @@ export type RecipeConfig<T extends RecipeVariantRecord = RecipeVariantRecord> =
62
62
  /**
63
63
  * The name of the recipe.
64
64
  */
65
- name: string
65
+ className: string
66
66
  /**
67
67
  * The description of the recipe. This will be used in the JSDoc comment.
68
68
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "The types for css panda",
5
5
  "main": "dist/index.d.ts",
6
6
  "author": "Segun Adebayo <joseshegs@gmail.com>",
@@ -16,8 +16,8 @@
16
16
  "csstype": "3.1.2",
17
17
  "hookable": "5.5.3",
18
18
  "pkg-types": "1.0.3",
19
- "@pandacss/extractor": "0.8.0",
20
- "@pandacss/token-dictionary": "0.8.0"
19
+ "@pandacss/extractor": "0.9.0",
20
+ "@pandacss/token-dictionary": "0.9.0"
21
21
  },
22
22
  "scripts": {
23
23
  "build": "tsx scripts/build.ts",