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

latest releases: @pandacss/generator@1.9.1, @pandacss/parser@1.9.1, @pandacss/extractor@1.9.1...
4 hours ago

Patch Changes

  • 8fda1a5: Fix pseudo-element conditions (::before, ::after) being placed before pseudo-class selectors in generated CSS

    When a pseudo-element condition like _before was combined with a mixed condition like _hover (defined as an array
    with a media query + selector), the pseudo-element would incorrectly appear before the pseudo-class in the generated
    CSS selector.

    Before (broken): .class::before:is(:hover, ...) - invalid CSS After (fixed):
    .class:is(:hover, ...)::before - valid CSS

    The fix ensures pseudo-element selectors are always sorted last in the condition chain, matching the CSS specification
    requirement that pseudo-elements must appear at the end of a selector.

  • Updated dependencies [d02fcf6]

    • @pandacss/token-dictionary@1.9.1
    • @pandacss/is-valid-prop@1.9.1
    • @pandacss/logger@1.9.1
    • @pandacss/shared@1.9.1
    • @pandacss/types@1.9.1

Don't miss a new panda release

NewReleases is sending notifications on new releases.