Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency @pandacss/types to v0.37.2 #6

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 5, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@pandacss/types (source) 0.37.1 -> 0.37.2 age adoption passing confidence

Release Notes

chakra-ui/panda (@​pandacss/types)

v0.37.2

Compare Source

Patch Changes
  • 74dfb3e: - Fix sva typings, the splitVariantProps was missing from the d.ts file

    • Add a getVariantProps helper to the slot recipes API (sva and config slot recipes)
    import { sva } from '../styled-system/css'
    import { getVariantProps } from '../styled-system/recipes'
    
    const button = sva({
      slots: ['root', 'icon'],
      // ...
      variants: {
        size: {
          sm: {
            // ...
          },
          md: {
            // ...
          },
        },
        variant: {
          primary: {
            // ...
          },
          danger: {
            // ...
          }
        }
      }
      defaultVariants: {
        size: 'md',
        variant: 'primary',
      }
    })
    
    // ✅ this will return the computed variants based on the defaultVariants + props passed
    const buttonProps = button.getVariantProps({ size: "sm" })
    //    ^? { size: "sm", variant: "primary" }

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@jonambas jonambas merged commit 068c212 into main Apr 5, 2024
2 checks passed
@jonambas jonambas deleted the renovate/panda-css-monorepo branch April 5, 2024 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant