Patch Changes
-
2117c7a: Improve generated style prop types for native CSS values and Panda utilities.
Utility shorthands like
bg,bgColor, andcolornow accept the matching native CSS values whenstrictTokensis
off. Keyframe steps also use the same style object types as global CSS. -
1d1ec6c: Trim surrounding whitespace before generating class names, so cssgen and runtime
css()produce the same
class for values like'0 auto '. -
21dc46a: Fix several nested arbitrary selector edge cases.
- Keep
&intact inside quoted attribute selector values, like[data-category="sound & vision"]. - Keep parent selectors like
&:last-childattached to the parent when followed by a nested descendant such as
& .divider. - Scope comma selector members without
&as descendants. - Wrap combinator parents in
:is()when a nested selector contains multiple&tokens.
- Keep
-
6a61a2d: Fix generated types for recipes with no variants.
Variant-less recipes no longer add a broad string index signature, so
defaultPropsandcreateSlotRecipeContext
providers accept valid non-variant props again. -
376d6f2: Improve parse handling during extraction.
.astrofrontmatter with a top-levelreturnnow extracts correctly.- Files Panda can't fully parse now warn instead of aborting the build. The warning explains that some styles may be
missing. Use--max-warnings 0if you want parse warnings to fail CI. - @pandacss/compiler-shared@2.0.0-beta.3
- @pandacss/config@2.0.0-beta.3