Replies: 4 comments 2 replies
-
@vird-playin that should definitely work. The error in the playground is because all the playground js are defined together. |
Beta Was this translation helpful? Give feedback.
-
I can indeed create the recipe in my project
My custom preset
and my
To add some context, my projet is still using I created my own If i use If I update my
and update my It's kind of a mistery for me and I had similar issue with a recipe named |
Beta Was this translation helpful? Give feedback.
-
In term of current implementation/logic, this is expected as we have don't check a function/component name against all kind, we just pick the 1st kind matching (recipes/patterns/etc) https://github.com/chakra-ui/panda/blob/main/packages/parser/src/parser.ts#L352-L365 in term of what should be the intent / what should be possible, I don't know pinging @segunadebayo to get another opinion on this |
Beta Was this translation helpful? Give feedback.
-
I can see the point here ✔️ As a workaround, is there a way to disable patterns ? (or is this planned in a future update ?) If none of this is possible I will keep going with my prefixes, but I would rather avoid |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I found out something with panda (which is maybe intentional)
I'm trying to create my own Stack recipe (with some spacing variant for eg)
It looks like it's not possible and I assume it's due to conflict with pattern name
Example here
Temporarily I'll name my recipe with a prefix to avoid conflict, but is there an another way to do ? Or a way to disable patterns ?
Or am I just doing it wrong ?
Thanks for your help 🙏
Beta Was this translation helpful? Give feedback.
All reactions