@pandacss/generator 0.0.0-dev-20230816155120 → 0.0.0-dev-20230821094657

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
@@ -2058,7 +2058,7 @@ function generateSolidJsxFactory(ctx) {
2058
2058
  ${ctx.file.import("allCssProperties", "./is-valid-prop")}
2059
2059
 
2060
2060
  function styledFn(element, configOrCva = {}) {
2061
- const cvaFn = configOrCva.__cva__ ? configOrCva : cva(configOrCva)
2061
+ const cvaFn = configOrCva.__cva__ || configOrCva.__recipe__ ? configOrCva : cva(configOrCva)
2062
2062
 
2063
2063
  return function ${componentName}(props) {
2064
2064
  const mergedProps = mergeProps({ as: element }, props)
package/dist/index.mjs CHANGED
@@ -2027,7 +2027,7 @@ function generateSolidJsxFactory(ctx) {
2027
2027
  ${ctx.file.import("allCssProperties", "./is-valid-prop")}
2028
2028
 
2029
2029
  function styledFn(element, configOrCva = {}) {
2030
- const cvaFn = configOrCva.__cva__ ? configOrCva : cva(configOrCva)
2030
+ const cvaFn = configOrCva.__cva__ || configOrCva.__recipe__ ? configOrCva : cva(configOrCva)
2031
2031
 
2032
2032
  return function ${componentName}(props) {
2033
2033
  const mergedProps = mergeProps({ as: element }, props)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/generator",
3
- "version": "0.0.0-dev-20230816155120",
3
+ "version": "0.0.0-dev-20230821094657",
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.27",
22
22
  "ts-pattern": "5.0.4",
23
- "@pandacss/core": "0.0.0-dev-20230816155120",
24
- "@pandacss/is-valid-prop": "0.0.0-dev-20230816155120",
25
- "@pandacss/logger": "0.0.0-dev-20230816155120",
26
- "@pandacss/shared": "0.0.0-dev-20230816155120",
27
- "@pandacss/token-dictionary": "0.0.0-dev-20230816155120",
28
- "@pandacss/types": "0.0.0-dev-20230816155120"
23
+ "@pandacss/core": "0.0.0-dev-20230821094657",
24
+ "@pandacss/is-valid-prop": "0.0.0-dev-20230821094657",
25
+ "@pandacss/logger": "0.0.0-dev-20230821094657",
26
+ "@pandacss/shared": "0.0.0-dev-20230821094657",
27
+ "@pandacss/token-dictionary": "0.0.0-dev-20230821094657",
28
+ "@pandacss/types": "0.0.0-dev-20230821094657"
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-20230816155120"
33
+ "@pandacss/fixture": "0.0.0-dev-20230821094657"
34
34
  },
35
35
  "scripts": {
36
36
  "prebuild": "tsx scripts/prebuild.ts",