github chakra-ui/panda @pandacss/core@1.3.1

3 hours ago

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, and Tabs.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

Don't miss a new panda release

NewReleases is sending notifications on new releases.