github chakra-ui/panda @pandacss/generator@0.8.0

latest releases: @pandacss/types@0.53.0, @pandacss/preset-panda@0.53.0, @pandacss/token-dictionary@0.53.0...
19 months ago

Minor Changes

  • 9ddf258: Introduce the new {fn}.raw method that allows for a super flexible usage and extraction 🎉 :

    <Button rootProps={css.raw({ bg: "red.400" })} />
    
    // recipe in storybook
    export const Funky: Story = {
    	args: button.raw({
    		visual: "funky",
    		shape: "circle",
    		size: "sm",
    	}),
    };
    
    // mixed with pattern
    const stackProps = {
      sm: stack.raw({ direction: "column" }),
      md: stack.raw({ direction: "row" })
    }
    
    stack(stackProps[props.size]))

Patch Changes

  • 3f1e7e3: Adds the {recipe}.raw() in generated runtime
  • ac07841: Fix issue with extracting nested tokens as color-palette. Fix issue with extracting shadow array as a
    separate unnamed block for the custom dark condition.
  • be0ad57: Fix parser issue with TS path mappings
  • b75905d: Improve generated react jsx types to remove legacy ref. This fixes type composition issues.
  • 0520ba8: Refactor generated recipe js code
  • 156b6bd: Fix issue where generated package json does not respect outExtension when emitPackage is true
  • Updated dependencies [fb44901]
  • Updated dependencies [ac07841]
  • Updated dependencies [be0ad57]
    • @pandacss/core@0.8.0
    • @pandacss/token-dictionary@0.8.0
    • @pandacss/types@0.8.0
    • @pandacss/is-valid-prop@0.8.0
    • @pandacss/logger@0.8.0
    • @pandacss/shared@0.8.0

Don't miss a new panda release

NewReleases is sending notifications on new releases.