🐼 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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
To upgrade to v0.28.0:
What's Changed
Fixed
getArbitraryValueso it works for values that start on a new line/* @__PURE__ */annotation threw a warning in Vite build due to incorrect placement.borderWidthswasn't specified in the generatedTokenCategorytypetriggers, introuced in v0.27.0
classNamereturns incorrect CSS when using theshorthand version.
would incorrectly generate (regression introduced in v0.26.2)
will now correctly generate again:
Added
--cpu-profflag topanda,panda cssgen,panda codegenandpanda debugcommands This is useful fordebugging performance issues in
pandaitself. This will generate apanda-{command}-{timestamp}.cpuprofilefile 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.hooksto be much more powerful, you can now:load all
recipesfrom a foldertsx-friendly syntax so that Panda's parser can parse it.parse style usage from any template language
@layeror 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-systemfolder) have been generatedSee the list of available
config.hookshere:Beta Was this translation helpful? Give feedback.
All reactions