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

latest releases: @pandacss/types@0.52.0, @pandacss/token-dictionary@0.52.0, @pandacss/shared@0.52.0...
5 months ago

Minor Changes

  • 54426a2: Add support native css nesting in template literal mode. Prior to this change, you need to add & to all
    nested selectors.

    Before:

    css`
      & p {
        color: red;
      }
    `

    After:

    css`
      p {
        color: red;
      }
    `

    Good to know: Internally, this will still convert to p to & p, but the generated css will work as expected.

Patch Changes

  • 54426a2: Fix issue where nesting @scope rule that use the & don't expand correctly
  • Updated dependencies [54426a2]
    • @pandacss/shared@0.46.0
    • @pandacss/token-dictionary@0.46.0
    • @pandacss/types@0.46.0
    • @pandacss/is-valid-prop@0.46.0
    • @pandacss/logger@0.46.0

Don't miss a new panda release

NewReleases is sending notifications on new releases.