@pandacss/generator 0.0.0-dev-20230706113853 → 0.0.0-dev-20230706152136

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.mts CHANGED
@@ -3,6 +3,7 @@ import * as _pandacss_core from '@pandacss/core';
3
3
  import * as _pandacss_token_dictionary from '@pandacss/token-dictionary';
4
4
  import * as _pandacss_types from '@pandacss/types';
5
5
  import { ConfigResultWithHooks, TSConfig } from '@pandacss/types';
6
+ import * as _pandacss_core_src_types from '@pandacss/core/src/types';
6
7
 
7
8
  declare const getEngine: (conf: ConfigResultWithHooks) => {
8
9
  patterns: {
@@ -176,8 +177,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
176
177
  match: RegExp;
177
178
  })[];
178
179
  };
179
- getRecipeName: (jsxName: string) => string;
180
- getRecipeByName: (name: string) => _pandacss_types.RecipeConfig | undefined;
180
+ getRecipesByJsxName: (jsxName: string) => _pandacss_core_src_types.RecipeNode[];
181
181
  };
182
182
  patterns: {
183
183
  transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
package/dist/index.d.ts CHANGED
@@ -3,6 +3,7 @@ import * as _pandacss_core from '@pandacss/core';
3
3
  import * as _pandacss_token_dictionary from '@pandacss/token-dictionary';
4
4
  import * as _pandacss_types from '@pandacss/types';
5
5
  import { ConfigResultWithHooks, TSConfig } from '@pandacss/types';
6
+ import * as _pandacss_core_src_types from '@pandacss/core/src/types';
6
7
 
7
8
  declare const getEngine: (conf: ConfigResultWithHooks) => {
8
9
  patterns: {
@@ -176,8 +177,7 @@ declare const createGenerator: (conf: ConfigResultWithHooks) => {
176
177
  match: RegExp;
177
178
  })[];
178
179
  };
179
- getRecipeName: (jsxName: string) => string;
180
- getRecipeByName: (name: string) => _pandacss_types.RecipeConfig | undefined;
180
+ getRecipesByJsxName: (jsxName: string) => _pandacss_core_src_types.RecipeNode[];
181
181
  };
182
182
  patterns: {
183
183
  transform: (name: string, data: _pandacss_types.Dict) => _pandacss_types.SystemStyleObject;
package/dist/index.js CHANGED
@@ -3464,8 +3464,7 @@ var createGenerator = (conf) => {
3464
3464
  isStyleProp: isValidProperty,
3465
3465
  nodes: [...patterns.nodes, ...recipes.nodes]
3466
3466
  },
3467
- getRecipeName: recipes.getFnName,
3468
- getRecipeByName: recipes.getConfig
3467
+ getRecipesByJsxName: recipes.filter
3469
3468
  }
3470
3469
  };
3471
3470
  };
package/dist/index.mjs CHANGED
@@ -3439,8 +3439,7 @@ var createGenerator = (conf) => {
3439
3439
  isStyleProp: isValidProperty,
3440
3440
  nodes: [...patterns.nodes, ...recipes.nodes]
3441
3441
  },
3442
- getRecipeName: recipes.getFnName,
3443
- getRecipeByName: recipes.getConfig
3442
+ getRecipesByJsxName: recipes.filter
3444
3443
  }
3445
3444
  };
3446
3445
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/generator",
3
- "version": "0.0.0-dev-20230706113853",
3
+ "version": "0.0.0-dev-20230706152136",
4
4
  "description": "The css generator for css panda",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -20,17 +20,17 @@
20
20
  "pluralize": "8.0.0",
21
21
  "postcss": "8.4.24",
22
22
  "ts-pattern": "4.3.0",
23
- "@pandacss/core": "0.0.0-dev-20230706113853",
24
- "@pandacss/is-valid-prop": "0.0.0-dev-20230706113853",
25
- "@pandacss/logger": "0.0.0-dev-20230706113853",
26
- "@pandacss/shared": "0.0.0-dev-20230706113853",
27
- "@pandacss/token-dictionary": "0.0.0-dev-20230706113853",
28
- "@pandacss/types": "0.0.0-dev-20230706113853"
23
+ "@pandacss/core": "0.0.0-dev-20230706152136",
24
+ "@pandacss/is-valid-prop": "0.0.0-dev-20230706152136",
25
+ "@pandacss/logger": "0.0.0-dev-20230706152136",
26
+ "@pandacss/shared": "0.0.0-dev-20230706152136",
27
+ "@pandacss/token-dictionary": "0.0.0-dev-20230706152136",
28
+ "@pandacss/types": "0.0.0-dev-20230706152136"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/pluralize": "0.0.29",
32
32
  "hookable": "5.5.3",
33
- "@pandacss/fixture": "0.0.0-dev-20230706113853"
33
+ "@pandacss/fixture": "0.0.0-dev-20230706152136"
34
34
  },
35
35
  "scripts": {
36
36
  "prebuild": "tsx scripts/prebuild.ts",