@pandacss/compiler@2.0.0-beta.14
Pre-releasePatch Changes
-
10014b4: Fix a
designSystemconsumer emitting the wrong CSS property for a library utility with a JStransform. A
boxSizeprop emittedbox-sizeinstead ofwidth/height, because styles replayed from the library's build info
skipped the transform. -
a4f3944: Warn when a
designSystemconsumer replays a library atom whose utility isn't registered in its own config,
usually because the library's preset wasn't merged. The style used to emit silently as the kebab-cased utility name
(boxSizebecamebox-size). Nowpanda cssgen/codegenreports it, naming the design system and the utility, so
you can add the missing preset. -
9bcdcb0: Fix
outExtension: "mjs"emitting.d.mtsfiles that TypeScript's bundler resolver cannot find.Clean codegen now writes
.d.tsnext to.mjs, soimport { css } from 'styled-system/css'typechecks. Set
forceImportExtension: trueif you still want.d.mts. -
ef7ffc7: Fix the
{colors.x/alpha}opacity modifier being ignored outside thecolorscategory. Inshadows,
bordersandgradientsit passed through as rawcolors.x/alphatext, which browsers drop. It now expands to
color-mix(...)everywhere.Fix the composite object form of a
semanticTokensvalue emitting nothing. It was parsed as a conditions map named
after its own keys. Applies to compositeshadow,borderandassetvalues.semanticTokens: { shadows: { card: { value: { offsetX: '0', offsetY: '2px', blur: '4px', spread: '0', color: '{colors.ink}' } }, }, }
Fix composite
gradientsemitting bare numbers where CSS needs a unit. A stoppositionnow serializes as a
percentage (100%, was100px) and a numericplacementas an angle (45deg, was45, which browsers rejected
outright). Gradients using either form will render differently. -
6bcc885: Speed up
staticCssbuilds that use breakpoint or container conditions. Condition queries are resolved once
per theme instead of rebuilt for every rule, so a config onpreset-panda's container scale drops from ~14s to ~0.3s
(roughly 50x faster, a 98% cut) with identical CSS output. The saving grows with the scale: a 64-size container scale
goes from 52.6s to 38ms.- @pandacss/compiler-shared@2.0.0-beta.14
- @pandacss/config@2.0.0-beta.14
- @pandacss/types@2.0.0-beta.14