🐼 Panda v0.42.0 #2721
anubra266
announced in
Announcements
🐼 Panda v0.42.0
#2721
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.42.0:
What's Changed
Added
4xl
border radius tokenChanged
className
to be optional, both forrecipes
andslotRecipes
, with a fallback to its name.panda analyze --output coverage.json
file[BREAKING] Removed the legacy
config.optimize
option because it was redundant. Now, we always optimize the generatedCSS where possible.
BREAKING: Remove
emitPackage
config option,tldr: use
importMap
instead for absolute paths (e.g can be used for component libraries)emitPackage
is deprecated, it's known for causing several issues:node_modules
, leading topanda codegen
updates to thestyled-system
notvisible in the browser
As alternatives, you can use:
../styled-system/css
instead ofstyled-system/css
)them by default) like
#styled-system/css
instead ofstyled-system/css
https://nodejs.org/api/packages.html#subpath-imports
@acme/styled-system
) and useimportMap: "@acme/styled-system"
so that Panda knows which entrypoint to extract, e.g.import { css } from '@acme/styled-system/css'
https://panda-css.com/docs/guides/component-libraryBeta Was this translation helpful? Give feedback.
All reactions