@pandacss/generator 0.0.0-dev-20230208150234 → 0.0.0-dev-20230208184147

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.js CHANGED
@@ -635,9 +635,9 @@ function generatePattern(ctx) {
635
635
  ${ctx.file.import("mapObject", "../helpers")}
636
636
  ${ctx.file.import("css", "../css/index")}
637
637
 
638
- const config = ${(0, import_javascript_stringify.stringify)({ transform })}
638
+ const ${name}Config = ${(0, import_javascript_stringify.stringify)({ transform })}
639
639
 
640
- export const ${styleFnName} = (styles) => config.transform(styles, { map: mapObject })
640
+ export const ${styleFnName} = (styles) => ${name}Config.transform(styles, { map: mapObject })
641
641
 
642
642
  export const ${name} = (styles) => css(${styleFnName}(styles))
643
643
  `
package/dist/index.mjs CHANGED
@@ -604,9 +604,9 @@ function generatePattern(ctx) {
604
604
  ${ctx.file.import("mapObject", "../helpers")}
605
605
  ${ctx.file.import("css", "../css/index")}
606
606
 
607
- const config = ${stringify2({ transform })}
607
+ const ${name}Config = ${stringify2({ transform })}
608
608
 
609
- export const ${styleFnName} = (styles) => config.transform(styles, { map: mapObject })
609
+ export const ${styleFnName} = (styles) => ${name}Config.transform(styles, { map: mapObject })
610
610
 
611
611
  export const ${name} = (styles) => css(${styleFnName}(styles))
612
612
  `
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/generator",
3
- "version": "0.0.0-dev-20230208150234",
3
+ "version": "0.0.0-dev-20230208184147",
4
4
  "description": "The css generator for css panda",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -20,16 +20,16 @@
20
20
  "pluralize": "8.0.0",
21
21
  "postcss": "8.4.21",
22
22
  "ts-pattern": "4.1.4",
23
- "@pandacss/core": "0.0.0-dev-20230208150234",
24
- "@pandacss/logger": "0.0.0-dev-20230208150234",
25
- "@pandacss/is-valid-prop": "0.0.0-dev-20230208150234",
26
- "@pandacss/shared": "0.0.0-dev-20230208150234",
27
- "@pandacss/types": "0.0.0-dev-20230208150234",
28
- "@pandacss/token-dictionary": "0.0.0-dev-20230208150234"
23
+ "@pandacss/core": "0.0.0-dev-20230208184147",
24
+ "@pandacss/logger": "0.0.0-dev-20230208184147",
25
+ "@pandacss/is-valid-prop": "0.0.0-dev-20230208184147",
26
+ "@pandacss/shared": "0.0.0-dev-20230208184147",
27
+ "@pandacss/types": "0.0.0-dev-20230208184147",
28
+ "@pandacss/token-dictionary": "0.0.0-dev-20230208184147"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/pluralize": "0.0.29",
32
- "@pandacss/fixture": "0.0.0-dev-20230208150234"
32
+ "@pandacss/fixture": "0.0.0-dev-20230208184147"
33
33
  },
34
34
  "scripts": {
35
35
  "prebuild": "tsx scripts/prebuild.ts",