Patch Changes
-
0202dba: Fix
globalCssand token-reference parity with extracted styles.- Expand composition props and nested utility transforms in
globalCss. - Resolve token references in raw at-rule conditions.
- Preserve
token(path, fallback)fallbacks in emitted CSS variables.
- Expand composition props and nested utility transforms in
-
23580df: Expose lint-friendly inspection data from
inspectFileSource, including extracted calls, JSX entries, token
references, component entries, and style entries with safe local key/value spans. Style entries cover every
style-writing form —css()(including thecss(a, b)multi-argument merge), style props, responsive arrays,
per-prop conditions, JSXcssprops (object andcss={[...]}array forms), and recipe styles incva/sva/
styled('div', { ... })(base,variants,compoundVariants) — and carry per-leaf value spans so tooling can
offer precise fixes everywhere. Each style entry also carries anowner(the enclosing call/JSX element) so tooling
can group sibling properties from the same style block.compiler.spec()now reports deprecation richer:tokens.deprecatedandutilities.deprecatedare maps of name →
deprecation (true, or the author'sdeprecated: 'use X instead'message), recipe definitions carry adeprecated
flag, and recipes/slotRecipes are exposed as top-levelspec.recipes/spec.slotRecipes(previously nested under
spec.recipes.recipes).Add
compiler.suggestToken(prop, value)— given a hardcoded value, returns the token to use (semantic tokens
preferred over the primitives they reference, with hex and px/rem normalization), ornull. Token references in
inspection results also carryisVar(whether the call wastoken.var(...)). -
Updated dependencies [23580df]
- @pandacss/compiler-shared@2.0.0-beta.4