github chakra-ui/panda @pandacss/extractor@0.9.0

latest releases: @pandacss/studio@1.4.0, @pandacss/config@1.4.0, @pandacss/types@1.4.0...
2 years ago

Patch Changes

  • 3269b41: Fix extractor issue where we didn't explore both branches when using a default value as the condition
    expression

    In the example below, only the yellow color would be generated although the blue color should also be generated in
    case the disabled prop is true.

    const CompB = ({ disabled = false }: { disabled: boolean }) => {
      return <div className={css({ color: disabled ? 'blue' : 'yellow' })}>Component B is disabled</div>
    }

Don't miss a new panda release

NewReleases is sending notifications on new releases.