Patch Changes
-
7fcd100: Fix issue where Panda eagerly tracks every JSX slot of a slot recipe when scanning for recipe props.
For example, assume you have a tabs recipe with the following slots:
<Tabs.Root> <Tabs.List> <Tabs.Trigger /> </Tabs.List> <Tabs.Content /> </Tabs.Root>
Panda tracks recipe props in
Tabs.Root
,Tabs.List
,Tabs.Trigger
, andTabs.Content
. This can lead to slightly
more works in the compiler.This PR fixes this by only tracking recipe props in the
Tabs.Root
slot.- @pandacss/is-valid-prop@1.3.1
- @pandacss/logger@1.3.1
- @pandacss/shared@1.3.1
- @pandacss/token-dictionary@1.3.1
- @pandacss/types@1.3.1