@pandacss/preset-panda
Advanced tools
Changelog
[0.46.0] - 2024-09-09
@scope
rule that use the &
don't expand correctlyAdd support native css nesting in template literal mode. Prior to this change, you need to add &
to all nested
selectors.
Before:
css`
& p {
color: red;
}
`
After:
css`
p {
color: red;
}
`
Good to know: Internally, this will still convert to
p
to& p
, but the generated css will work as expected.
Changelog
[0.45.2] - 2024-08-29
Make WithEscapeHatch<T>
much more performant and typescript happy by updating the type signature of WithImportant<T>
and WithColorOpacityModifier<T>
to use branded type and non-distributive conditional types, while keeping such
tokens valid and also not appearing in autocompletions to prevent them from polluting autocompletion result (which is
the current behavior).
Changelog
[0.45.1] - 2024-08-14
Fix issue where shadow token with color opacity modifier produces incorrect css value
[Internal] switch to package-manager-detector to reduce dependencies