🐼 Panda v0.15.4 #1454
anubra266
announced in
Announcements
🐼 Panda v0.15.4
#1454
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.15.4:
What's Changed
Fixed
styled
factory fn for Qwik, Solid and Vue.when used with runtime conditions
Given a component like this:
the
py
value was incorrectly extracted like this:which would then generate invalid CSS like:
it's now correctly transformed back to an array:
which will generate the correct CSS
Added
Improved styled factory by adding a 3rd (optional) argument:
dataAttr
to true will add adata-recipe="{recipeName}"
attribute to the element with the recipe name. Thisis useful for testing and debugging.
defaultProps
allows you to skip writing wrapper components just to set a few props. It also allows you to locallyoverride the default variants or base styles of a recipe.
shouldForwardProp
allows you to customize which props are forwarded to the underlying element. By default, all propsexcept recipe variants and style props are forwarded.
Beta Was this translation helpful? Give feedback.
All reactions