github chakra-ui/panda @pandacss/transformer@2.0.0-beta.12

pre-release6 hours ago

Patch Changes

  • 43940f7: Speed up transformed components that pass a className through. cx now returns a lone class string as-is
    instead of re-tokenizing it, which is the common case for elements the transform folds past a spread.
  • 1e3654b: Fix boolean variants in transformed source. cva/sva now resolve { true: … } branches for boolean and
    numeric values, including boolean defaultVariants, instead of matching only string values.
  • e80f6d0: Memoize cva/sva results in transformed source, so a component re-rendering with the same variant props
    reuses its class string instead of rebuilding it.
  • 50d2c99: Fix styled(Component, styles) chains crashing with cvaA.merge is not a function when the transform is
    enabled. The internal recipe runtime now implements merge, so a chain collapses to one composed recipe at definition
    time as it does untransformed.
  • cdf6293: Speed up recipes in transformed source. cva now resolves through a precomputed table of class strings
    instead of rebuilding a memo key on every call.
  • Updated dependencies [172c52f]
  • Updated dependencies [98aaa76]
  • Updated dependencies [ceb8d8d]
  • Updated dependencies [28ee00a]
  • Updated dependencies [604b103]
  • Updated dependencies [25137db]
  • Updated dependencies [c2fcd98]
  • Updated dependencies [8ccb118]
  • Updated dependencies [fad2f12]
  • Updated dependencies [736358d]
  • Updated dependencies [28ee00a]
    • @pandacss/compiler@2.0.0-beta.12
    • @pandacss/compiler-shared@2.0.0-beta.12

Don't miss a new panda release

NewReleases is sending notifications on new releases.