Panda v1.11.0 #3526
Closed
anubra266
announced in
Announcements
Panda v1.11.0
#3526
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.
What's new in v1.11.0
Added
Multi-block conditions with declarative object syntax
A single condition can now generate multiple independent CSS blocks using a declarative object syntax with
@slotmarkers. This is useful for patterns like hover-on-desktop + active-on-touch, where each block needs its own at-rule.Config:
Usage:
Generated CSS:
This is backward compatible — existing
stringandstring[]conditions continue to work as before.Fixed
Fix
panda codegencrashing withERR_REQUIRE_ESMon Node 18 and Node 20.0–20.18. Pinned@csstools/postcss-cascade-layersback to5.0.2— v6 dropped CJS support and the two releases are functionally equivalent.Fix
pandacrashing with a TypeScript compiler options error whentsconfig.jsonuses string-form enum values liketarget: "ESNext". Panda now normalizescompilerOptionsviats.convertCompilerOptionsFromJsonbefore passing them to ts-morph.Improve compiled JSX extraction so
cssprops are correctly recognized from framework runtime helper output (React, Preact, Vue, Solid, and Qwik builds).Full changelog: https://github.com/chakra-ui/panda/blob/main/CHANGELOG.md
All reactions