🐼 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
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.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-systemwhile also using your ownstyled-systemin your app.Now you can use any of the
@acme/styled-system,@ui-lib/styled-systemandstyled-systemimport sources:spaceXandspaceYutilities for applying margin between elements. Especially usefulwhen applying negative margin to child elements.
Added new
_startingcondition to support the new@starting-styleat-rule.Learn more here
Gradient Position: Add new
gradientFromPositionandgradientToPositionutilities for controlling the positionof the gradient color stops.
Changed
_lightand_darkto target parent elements. Thisensures consistent behavior with using these conditions to style pseudo elements (like
::beforeand::after).const conditions = { - _dark: '&.dark, .dark &', + _dark: '.dark &', - _light: '&.light, .light &', + _light: '.light &', }divideXanddivideYnow maps to theborderWidthstoken group.Beta Was this translation helpful? Give feedback.
All reactions