1.10
1.10 is the biggest Bedrock release in months! We are excited about the following changes:
- We've worked on something new that we call Bedrock bases. We are providing a base for Bootstrap 4 and Material Design. Read the blog post for an introduction
- We reworked the way we treat Bedrock's internal CSS. We only provide the barely necessary CSS to make Bedrock function in
core
; this is the CSS for the tree collapsing and showing the page tree. As a Bedrock author you are supposed to do your own styling to make your style guides look good. This allows you to style a styleguide exactly the way you want without clashing CSS. But given the Bedrock bases (see above), you also have an easy way to not have to do this work. - We reworked the way documentation works, treating color and typography documentation as regular component documentation. Look no further than the Bedrock bases for an example of how this works e.g. Material's typography, colors and icons.
- You have always been able to categorize components by their folder prefix (e.g.
c-
) but the way this works has been clarified together with recent documentation updates (see configuration) - You have always been able to determine the order of categories in the styleguide (e.g. put custom components last) but the way this works has been clarified together with recent documentation updates (see configuration)
- For the adventurous - it is now possible to loop through documentation categories yourself - you don't depend on Bedrock's setup. You can mirror templates from
core
tocontent
to start building your own style guide without breaking Bedrock's internals. This is kind of niche functionality which we have not used ourselves so far, and will likely improve upon when we use it in real projects.