We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd857a3 commit db237b6Copy full SHA for db237b6
.changeset/slick-clouds-know.md
@@ -0,0 +1,5 @@
1
+---
2
+'@pandacss/core': patch
3
4
+
5
+Improve recipe variant props tracking in JSX
packages/core/src/recipes.ts
@@ -127,7 +127,7 @@ export class Recipes {
127
128
const ROOT_SLOT = 'root'
129
130
- if (Recipes.isSlotRecipeConfig(recipe) && recipe.slots.includes(ROOT_SLOT)) {
+ if (Recipes.isSlotRecipeConfig(recipe)) {
131
const jsxRootName = capitalize(ROOT_SLOT)
132
const rootNames: string[] = [`${capitalized}.${jsxRootName}`, `${capitalized}${jsxRootName}`]
133
jsx.push(...rootNames)
0 commit comments