🐼 Panda v0.34.0 #2316
anubra266
announced in
Announcements
🐼 Panda v0.34.0
#2316
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.34.0:
What's Changed
Fixed
splitCssProps
typings, it would sometimes throwExpression produces a union type that is too complex to represent"
Added
error
value
twice in configblue.300/70
) in token references:{colors.blue.300/70}
token(colors.blue.300/70)
Note that this works both in style usage and in build-time config.
Changed
Deprecates
emitPackage
, it will be removed in the next major version.Why?
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
)package.json#imports when possible, TS 5.4 supports them by default) like
#styled-system/css
instead ofstyled-system/css
(e.g.
@acme/styled-system
) and useimportMap: "@acme/styled-system"
so that Panda knows which entrypoint toextract, e.g.
import { css } from '@acme/styled-system/css'
Beta Was this translation helpful? Give feedback.
All reactions