github chakra-ui/panda @pandacss/is-valid-prop@0.10.0

latest releases: @pandacss/core@1.3.1, @pandacss/node@1.3.1, @pandacss/preset-base@1.3.1...
2 years ago

Patch Changes

  • 24e783b: Reduce the overall outdir size, introduce the new config jsxStyleProps option to disable style props and
    further reduce it.

    config.jsxStyleProps:

    • When set to 'all', all style props are allowed.
    • When set to 'minimal', only the css prop is allowed.
    • When set to 'none', no style props are allowed and therefore the jsxFactory will not be usable as a component:
      • <styled.div /> and styled("div") aren't valid
      • but the recipe usage is still valid styled("div", { base: { color: "red.300" }, variants: { ...} })
  • 6d4eaa6: Refactor code

Don't miss a new panda release

NewReleases is sending notifications on new releases.