Matchbox 4.7.0

2020 December 9th


This release requires styled-components 5.2

For a full list of updates, view the release notes on Github.

A new prop, when set to false, allows Modal Contents to expand vertically

<Modal>
<Modal.Content restrictHeight={false}>Content</Modal.Content>
</Modal>

UnstyledLinks and ActionList.Actions now accept a disabled prop.

<UnstyledLink disabled>Disabled</UnstyledLink>
<ActionList>
<ActionList.Action is="button" disabled>
Disabled Button
</ActionList.Action>
<ActionList.Action to="#" is="link" disabled>
Disabled Link
</ActionList.Action>
</ActionList>

Panel headers now accept an as prop. Header defaults to h3, SubHeader defaults to h4.

<Panel>
<Panel.Header as="h2">Title</Panel.Header>
<Panel.SubHeader as="h5">Title</Panel.SubHeader>
</Panel>