🐼 Panda v0.37.0 #2449
anubra266
announced in
Announcements
🐼 Panda v0.37.0
#2449
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.37.0:
What's Changed
Fixed
Fix className collisions between utilities by using unique class names per property in the default preset.
Fix a bug where some styles would be grouped together in the same rule, even if they were not related to each other.
Internal details
This was caused by an object reference being re-used while setting a property deeply in the hashes decoding process,
leading to the mutation of a previous style object with additional properties.
Added
strictPropertyValues
)importMap
(or multiple single import entrypoints if using the object format).It can be useful to use a component library's
styled-system
while also using your ownstyled-system
in your app.Now you can use any of the
@acme/styled-system
,@ui-lib/styled-system
andstyled-system
import sources:spaceX
andspaceY
utilities for applying margin between elements. Especially usefulwhen applying negative margin to child elements.
Added new
_starting
condition to support the new@starting-style
at-rule.Learn more here
Gradient Position: Add new
gradientFromPosition
andgradientToPosition
utilities for controlling the positionof the gradient color stops.
Changed
_light
and_dark
to target parent elements. Thisensures consistent behavior with using these conditions to style pseudo elements (like
::before
and::after
).divideX
anddivideY
now maps to theborderWidths
token group.Beta Was this translation helpful? Give feedback.
All reactions