@pandacss/generator 0.5.1 → 0.6.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/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;