github chakra-ui/panda @pandacss/config@0.30.0

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

Minor Changes

  • 0dd45b6: Fix issue where config changes could not be detected due to config bundling returning stale result
    sometimes.

Patch Changes

  • 74485ef: Add utils functions in the config:resolved hook, making it easy to apply transformations after all
    presets have been merged.

    For example, this could be used if you want to use most of a preset but want to completely omit a few things, while
    keeping the rest. Let's say we want to remove the stack pattern from the built-in @pandacss/preset-base:

    import { defineConfig } from '@pandacss/dev'
    
    export default defineConfig({
      // ...
      hooks: {
        'config:resolved': ({ config, utils }) => {
          return utils.omit(config, ['patterns.stack'])
        },
      },
    })
  • ab32d1d: Fix issue where errors were thrown when semantic tokens are overriden in tokens.

  • d5977c2: - Add a --logfile flag to the panda, panda codegen, panda cssgen and panda debug commands.

    • Add a logfile option to the postcss plugin

    Logs will be streamed to the file specified by the --logfile flag or the logfile option. This is useful for
    debugging issues that occur during the build process.

    panda --logfile ./logs/panda.log
    module.exports = {
      plugins: {
        '@pandacss/dev/postcss': {
          logfile: './logs/panda.log',
        },
      },
    }
  • Updated dependencies [74485ef]

  • Updated dependencies [ab32d1d]

  • Updated dependencies [49c760c]

  • Updated dependencies [d5977c2]

    • @pandacss/types@0.30.0
    • @pandacss/shared@0.30.0
    • @pandacss/logger@0.30.0
    • @pandacss/preset-base@0.30.0
    • @pandacss/preset-panda@0.30.0

Don't miss a new panda release

NewReleases is sending notifications on new releases.