The one where we align the props
We've been a bit inconsistent here at Bedrock. Each component has been made in a vacuum, which means that we ended up with a couple of ways to say the same thing. In the Grid
component we had the minItemWidth
prop and in the ColumnDrop
we had the basis
prop. Both effectively said the same thing. We also had the Inline
Component that should have implemented this, but didn't.
So this release is doing just that. The Grid, ColumnDrop, and Inline components now have the same minItemWidth
prop. The ColumnDrop
will no longer have the basis
prop and inline will no longer default to having each of the children have a minimum width of fit-content
. This means breaking changes in the following components:
- Grid
- MasonryGrid
- Inline
- ColumnDrop
In addition, bedrock-layout-css
and the primitives
packages also got a major version bump due to the changes. I hope you enjoy this update.
What's Changed
- MinItem by @Jarvis1010 in #1344
Full Changelog: https://github.com/Bedrock-Layouts/Bedrock/commits/@bedrock-layout/[email protected]