@pandacss/studio 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/studio",
3
- "version": "0.8.0",
3
+ "version": "0.9.0",
4
4
  "description": "The automated token documentation for Panda CSS",
5
5
  "main": "dist/studio.js",
6
6
  "module": "dist/studio.mjs",
@@ -33,19 +33,19 @@
33
33
  "react": "18.2.0",
34
34
  "react-dom": "18.2.0",
35
35
  "vite": "4.4.2",
36
- "@pandacss/types": "0.8.0",
37
- "@pandacss/config": "0.8.0",
38
- "@pandacss/shared": "0.8.0",
39
- "@pandacss/token-dictionary": "0.8.0",
40
- "@pandacss/logger": "0.8.0",
41
- "@pandacss/node": "0.8.0"
36
+ "@pandacss/types": "0.9.0",
37
+ "@pandacss/config": "0.9.0",
38
+ "@pandacss/shared": "0.9.0",
39
+ "@pandacss/token-dictionary": "0.9.0",
40
+ "@pandacss/logger": "0.9.0",
41
+ "@pandacss/node": "0.9.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/react": "18.2.14",
45
45
  "@types/react-dom": "18.2.6",
46
46
  "@vitejs/plugin-react": "4.0.3",
47
47
  "execa": "7.1.1",
48
- "@pandacss/dev": "0.8.0"
48
+ "@pandacss/dev": "0.9.0"
49
49
  },
50
50
  "scripts": {
51
51
  "codegen": "panda",
@@ -40,7 +40,14 @@ export type PatternConfig<T extends PatternProperties = PatternProperties> = {
40
40
  /**
41
41
  * The jsx element name this pattern will generate.
42
42
  */
43
- jsx?: string
43
+ jsxName?: string
44
+ /**
45
+ * The jsx elements to track for this pattern. Can be string or Regexp.
46
+ *
47
+ * @default capitalize(pattern.name)
48
+ * @example ['Button', 'Link', /Button$/]
49
+ */
50
+ jsx?: Array<string | RegExp>
44
51
  /**
45
52
  * Whether to only generate types for the specified properties.
46
53
  * This will disallow css properties
@@ -63,7 +63,7 @@ export type RecipeConfig<T extends RecipeVariantRecord = RecipeVariantRecord> =
63
63
  /**
64
64
  * The name of the recipe.
65
65
  */
66
- name: string
66
+ className: string
67
67
  /**
68
68
  * The description of the recipe. This will be used in the JSDoc comment.
69
69
  */