Skip to content

The one where we align the props

Compare
Choose a tag to compare
@Jarvis1010 Jarvis1010 released this 23 Jun 02:12
· 1403 commits to main since this release

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

Full Changelog: https://github.com/Bedrock-Layouts/Bedrock/commits/@bedrock-layout/[email protected]