Skip to content

v2.6.4

Choose a tag to compare

@github-actions github-actions released this 03 Jun 12:58
· 143 commits to main since this release
9cda3f2

Patch Changes

  • #203 14d0ec2 Thanks @tenphi! - Fix exponential render time for large state maps that use bracket attribute selectors.

    Style maps combining many mutually-exclusive attribute states (e.g. [data-variant="processing"] & [data-theme="..."] across many themes) could take several seconds to render because the engine could not tell that selectors on the same attribute with different values never overlap. Bracket attribute selectors now parse as structured modifiers, so the pipeline recognizes their mutual exclusivity and drops the unnecessary negations between non-overlapping states. The generated CSS is also more compact: each state produces a single clean compound selector, and catch-all/default entries collapse OR chains of negations into a single :not(...).