@pandacss/types
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.Changelog
[0.40.0] - 2024-05-29
Improve monorepo setup DX by exposing some cli flags
panda init
--no-codegen
to skip codegen during initialization--outdir
to specify the output directory for generated filespanda emit-pkg
--base
flag to specify the base directory for the entrypoints in the generated package.json#exports
field