@pandacss/preset-panda
Advanced tools
Changelog
[0.41.0] - 2024-06-16
Fix an issue where spreading an identifier in a sva slots
array would prevent expected CSS from being generated
import { sva } from 'styled-system/css'
const parts = ['positioner', 'content']
const card = sva({
slots: [...parts], // <- spreading here was causing the below CSS not to be generated, it's now fixed ✅
base: {
root: {
p: '6',
},
},
})
Annotate config recipe default variants with the @default
js doc comment. This makes it easy to know the default value
of a variant.
Changelog
[0.40.1] - 2024-05-31
jsxStyleProps: none
with the generated jsx patterns, lead to unoptimized code that causes the
component to be recreated on every render.panda init --outdir=<x>
command to reflect outdir
in generated panda config file.