Repository navigation
Panda v2.5.0 #4073
Closed
Panda v2.5.0
#4073
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Added
no-dynamic-stylinglint rule, on inrecommended. It flags style values Panda cannot read at build time, likecss({ color })withcolorfrom state, so you see the missing CSS in your editor.codegen: falseto the bundler plugins (Vite, Rollup, webpack, Bun, PostCSS) so apps importing a shared styled-system can skip generating a local copy while still generating CSS.Changed
design_system_option_mismatchwarning: components from a design system render unstyled when your app sets a differentprefix,hash, orseparator.Performance
includeentries (74s to 8s on 10k sources). The first build now parses every source file in one batch, the waypanda cssgendoes.Fixed
:has()or a list of states, so the right one wins. A selector list now ranks as its strongest state, and the lint plugin warns when two conditions on one property cannot keep your written order.??/||defaults, helper functions, and imports.treeshakeDesignSystemloading the wrong component styles when several components export the same name, likeRootin Ark UI based design systems.parseFiles()picks up an edited file.no-deprecatedandpanda analyzereporting a deprecated token when the style used a different token that compiles to the same CSS variable.Full changelog: https://github.com/chakra-ui/panda/blob/v2/CHANGELOG.md
All reactions