🐼 Panda v0.21.0 #1796
anubra266
announced in
Announcements
🐼 Panda v0.21.0
#1796
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.
-
To upgrade to v0.21.0:
What's Changed
Fixed
While parsing over the AST Nodes, due to an optimization where we skipped retrieving the current JSX element and instead
kept track of the latest one, the logic was flawed and did not extract other properties after encountering a JSX
attribute that was another JSX node.
Now both will be fine again.
happens internally.
styledfactory internal class merging, for example:Will now correctly include the
testclass in the final output.Added
configPathandcwdoptions in the@pandacss/astrointegration just like in the@pandacss/postcssconfig.strictTokens, by prefixing the value with[andsuffixing with
], e.g. writing[123px]as a value will bypass the token validation.config.importMapoptionYou can now also use a string to customize the base import path and keep the default entrypoints:
{ "importMap": "@scope/styled-system" }is the equivalent of:
{ "importMap": { "css": "@scope/styled-system/css", "recipes": "@scope/styled-system/recipes", "patterns": "@scope/styled-system/patterns", "jsx": "@scope/styled-system/jsx" } }staticCssoptions from inside a recipe config, e.g.:would be the equivalent of defining it inside the main config:
Beta Was this translation helpful? Give feedback.
All reactions