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

latest releases: @pandacss/types@1.3.0, @pandacss/token-dictionary@1.3.0, @pandacss/extractor@1.3.0...
21 months ago

Patch Changes

  • 1ea7459: Fix performance issue where process could get slower due to postcss rules held in memory.

  • 80ada33: Automatically extract/generate CSS for sva even if slots are not statically extractable, since it will
    only produce atomic styles, we don't care much about slots for sva specifically

    Currently the CSS won't be generated if the slots are missing which can be problematic when getting them from
    another file, such as when using Ark-UI like import { comboboxAnatomy } from '@ark-ui/anatomy'

    import { sva } from '../styled-system/css'
    import { slots } from './slots'
    
    const card = sva({
      slots, // ❌ did NOT work -> ✅ will now work as expected
      base: {
        root: {
          p: '6',
          m: '4',
          w: 'md',
          boxShadow: 'md',
          borderRadius: 'md',
          _dark: { bg: '#262626', color: 'white' },
        },
        content: {
          textStyle: 'lg',
        },
        title: {
          textStyle: 'xl',
          fontWeight: 'semibold',
          pb: '2',
        },
      },
    })
  • 840ed66: Fix an issue with config change detection when using a custom config.slotRecipes[xxx].jsx array

  • Updated dependencies [bd552b1]

    • @pandacss/logger@0.23.0
    • @pandacss/error@0.23.0
    • @pandacss/shared@0.23.0
    • @pandacss/token-dictionary@0.23.0
    • @pandacss/types@0.23.0

Don't miss a new panda release

NewReleases is sending notifications on new releases.