🐼 Panda v0.32.0 #2229
anubra266
announced in
Announcements
🐼 Panda v0.32.0
#2229
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To upgrade to v0.32.0:
What's Changed
Fixed
defineParts
where it silently fails if a part not defined is used. It now errors with a helpful messagecompoundVariants
when usingstaticCss
0
values doesn't get extracted when used in a conditionChanged
all
to be first, so that other properties can easily override item
torem
for breakpoints and container queries to prevent side effects.config.hooks
to be shared inplugins
For hooks that can transform Panda's internal state by returning something (like
cssgen:done
andcodegen:prepare
),each hook instance will be called sequentially and the return result (if any) of the previous hook call is passed to the
next hook so that they can be chained together.
jsxFramework
to any string to enable extracting JSX components.Context: In a previous version, Panda's extractor used to always extract JSX style props even when not specifying a
jsxFramework
. This was considered a bug and has been fixed, which reduced the amount of work panda does and artifactsgenerated if the user doesn't need jsx.
Now, in some cases like when using Svelte or Astro, the user might still to use & extract JSX style props, but the
jsxFramework
didn't have a way to specify that. This change allows the user to setjsxFramework
to any string toenable extracting JSX components without generating any artifacts.
Beta Was this translation helpful? Give feedback.
All reactions