github chakra-ui/panda @pandacss/core@0.41.0

latest releases: @pandacss/preset-base@1.2.0, @pandacss/token-dictionary@1.2.0, @pandacss/logger@1.2.0...
14 months ago

Patch Changes

  • 2750261: Fix an issue where spreading an identifier in a sva slots array would prevent expected CSS from being
    generated

    import { sva } from 'styled-system/css'
    const parts = ['positioner', 'content']
    
    const card = sva({
      slots: [...parts], // <- spreading here was causing the below CSS not to be generated, it's now fixed ✅
      base: {
        root: {
          p: '6',
        },
      },
    })
    • @pandacss/types@0.41.0
    • @pandacss/is-valid-prop@0.41.0
    • @pandacss/logger@0.41.0
    • @pandacss/shared@0.41.0
    • @pandacss/token-dictionary@0.41.0

Don't miss a new panda release

NewReleases is sending notifications on new releases.