🐼 Panda v0.28.0 #2082
anubra266
announced in
Announcements
🐼 Panda v0.28.0
#2082
Replies: 1 comment 1 reply
-
Hey @anubra266 is there an error in the changelog for the globalCss regression bit? because the 2 generated CSS looks the same to me |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To upgrade to v0.28.0:
What's Changed
Fixed
getArbitraryValue
so it works for values that start on a new line/* @__PURE__ */
annotation threw a warning in Vite build due to incorrect placement.borderWidths
wasn't specified in the generatedTokenCategory
typetriggers, introuced in v0.27.0
className
returns incorrect CSS when using theshorthand version.
would incorrectly generate (regression introduced in v0.26.2)
will now correctly generate again:
Added
--cpu-prof
flag topanda
,panda cssgen
,panda codegen
andpanda debug
commands This is useful fordebugging performance issues in
panda
itself. This will generate apanda-{command}-{timestamp}.cpuprofile
file inthe current working directory, which can be opened in tools like Speedscope
This is mostly intended for maintainers or can be asked by maintainers to help debug issues.
Changed
Refactor
config.hooks
to be much more powerful, you can now:load all
recipes
from a foldertsx
-friendly syntax so that Panda's parser can parse it.parse style usage from any template language
@layer
or even right before it's written to disk (if using the CLI) or injectedthrough the postcss plugin, allowing all kinds of customizations like removing the unused CSS variables, etc.
styled-system
folder) have been generatedSee the list of available
config.hooks
here:Beta Was this translation helpful? Give feedback.
All reactions