Minor Changes
-
aa90e4a:
panda analyzenow counts what your config uses, not just your source files.- Shows where each name is used, like
3 files, globalCssorvia animations.spin - Adds a
compositionsscope for text, layer, and animation styles - Counts styles a design system brings in through build info
- Fix
removeUnusedKeyframesdropping keyframes used only through an animation token - Fix
removeUnusedKeyframesdropping keyframes used underglobalCssselectors likeporh
- Shows where each name is used, like
-
f01a419: Add
jsxMatchTagto choose which JSX components Panda reads style props from. Match by name or import path;
the last matching rule wins.export default defineConfig({ jsxMatchTag: [ { from: '@tanstack/react-table', ignore: true }, { tag: /Button$/, props: ['color'] }, ], })
Patch Changes
-
675fa00: Fix slow first builds with the PostCSS plugin in projects that have imports Panda can't resolve.
-
36b18da: Fix recipe variants emitting in alphabetical order. They follow your config again, so a later variant
overrides an earlier one:variants: { visual: { solid: { padding: '1px' } }, size: { sm: { padding: '4px' } }, // `size` wins, as declared }
Slots, compound variants,
variantKeys, andvariantMapkeep config order too. -
f01a419: Stop extracting data props from components Panda doesn't own. A prop like
columnson a table component no
longer emits CSS or anested_propertywarning when its value isn't a style:<DataTable columns={[{ header: 'Name', accessorKey: 'name' }]} />
-
d1ee159: Fix tokens whose name starts with their own category, like
colors.grey50undercolors:- Generated types now list
colors.grey50instead ofgrey50, so the token type-checks understrictTokensand the
raw name no longer does. staticCsswildcards on pattern props no longer cut nested token names short, likered.500becoming500.
- Generated types now list
-
5616e53: Fix
cva()andsva()calls staying in the bundle when a variant or slot has an empty style, like
false: {}. -
Updated dependencies [aa90e4a]
-
Updated dependencies [675fa00]
-
Updated dependencies [f01a419]
-
Updated dependencies [93269f5]
- @pandacss/compiler-shared@2.3.0
- @pandacss/types@2.3.0