Skip to content

v7.1.0

Choose a tag to compare

@alex-up-bot alex-up-bot released this 30 May 20:43
· 14 commits to main since this release

v7.1.0 (Minor Release)

Status: Released

This is a new minor release of the @alextheman/components package. It introduces new features and other backwards-compatible changes that should require little to no refactoring. Please read the description of changes below.

Description of Changes

  • Resolve the component prop of DropdownMenuTrigger properly.
    • Previously if another button component was passed in, it would've passed it as the component prop of Button, therefore losing access to the benefits of the provided button.
    • For example, if IconButton provided, it still renders the icon in the regular Button.
    • This changes that so that we instead resolve what the actual rendered button component will be and render that directly.
    • If no component prop is provided, we use the Material UI Button, otherwise we use whatever was passed in.