@pandacss/generator 0.0.0-dev-20230719173210 → 0.0.0-dev-20230720141127

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
@@ -1017,17 +1017,13 @@ function generateRecipes(ctx) {
1017
1017
  compoundVariants ?? []
1018
1018
  )})
1019
1019
 
1020
- const variantKeys = ${stringify3(Object.keys(variantKeyMap))}
1021
-
1022
- function splitVariantProps(props) {
1023
- return splitProps(props, variantKeys)
1024
- }
1025
-
1026
1020
  export const ${name} = Object.assign(${name}Fn, {
1027
1021
  __recipe__: true,
1028
- variantKeys,
1022
+ variantKeys: ${stringify3(Object.keys(variantKeyMap))},
1029
1023
  variantMap: ${stringify3(variantKeyMap)},
1030
- splitVariantProps,
1024
+ splitVariantProps(props) {
1025
+ return splitProps(props, ${stringify3(Object.keys(variantKeyMap))})
1026
+ },
1031
1027
  })
1032
1028
  `,
1033
1029
  dts: import_outdent11.outdent`
package/dist/index.mjs CHANGED
@@ -986,17 +986,13 @@ function generateRecipes(ctx) {
986
986
  compoundVariants ?? []
987
987
  )})
988
988
 
989
- const variantKeys = ${stringify3(Object.keys(variantKeyMap))}
990
-
991
- function splitVariantProps(props) {
992
- return splitProps(props, variantKeys)
993
- }
994
-
995
989
  export const ${name} = Object.assign(${name}Fn, {
996
990
  __recipe__: true,
997
- variantKeys,
991
+ variantKeys: ${stringify3(Object.keys(variantKeyMap))},
998
992
  variantMap: ${stringify3(variantKeyMap)},
999
- splitVariantProps,
993
+ splitVariantProps(props) {
994
+ return splitProps(props, ${stringify3(Object.keys(variantKeyMap))})
995
+ },
1000
996
  })
1001
997
  `,
1002
998
  dts: outdent11`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/generator",
3
- "version": "0.0.0-dev-20230719173210",
3
+ "version": "0.0.0-dev-20230720141127",
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.25",
22
22
  "ts-pattern": "5.0.1",
23
- "@pandacss/core": "0.0.0-dev-20230719173210",
24
- "@pandacss/is-valid-prop": "0.0.0-dev-20230719173210",
25
- "@pandacss/logger": "0.0.0-dev-20230719173210",
26
- "@pandacss/shared": "0.0.0-dev-20230719173210",
27
- "@pandacss/token-dictionary": "0.0.0-dev-20230719173210",
28
- "@pandacss/types": "0.0.0-dev-20230719173210"
23
+ "@pandacss/core": "0.0.0-dev-20230720141127",
24
+ "@pandacss/logger": "0.0.0-dev-20230720141127",
25
+ "@pandacss/is-valid-prop": "0.0.0-dev-20230720141127",
26
+ "@pandacss/shared": "0.0.0-dev-20230720141127",
27
+ "@pandacss/types": "0.0.0-dev-20230720141127",
28
+ "@pandacss/token-dictionary": "0.0.0-dev-20230720141127"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/pluralize": "0.0.30",
32
32
  "hookable": "5.5.3",
33
- "@pandacss/fixture": "0.0.0-dev-20230719173210"
33
+ "@pandacss/fixture": "0.0.0-dev-20230720141127"
34
34
  },
35
35
  "scripts": {
36
36
  "prebuild": "tsx scripts/prebuild.ts",