Releases: usebedrock/bedrock
Releases · usebedrock/bedrock
1.14
1.12.1
1.11.0
- Merged #280 which introduces a change to how you run Bedrock. In the previous incarnation, we required gulp to be installed globally. Leveraging the power of npm scripts, this is not necessary anymore. Yay! In practice this does mean that the command to run Bedrock changes from
gulp
tonpm start
. The command to create a build changes tonpm run build
.
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.
1.9
- Make icon font output path configurable. Set a path in
icons.iconFontPath
inbedrock.config.js
to determine where the CSS for your icon font should land. - Improvements to the display of page states. We now “humanize” the names
- Improvements to the display of
<title>
s in the style guide. We now show the components name in each browser tab instead of just “Styleguide”. - Update to latest
gulp-sass
with better support for CSS grid. - Deprecate the dark UI config setting (
ui.dark
) in preparation of a Bedrock version where the styling of the styleguide is separated from Bedrock
1.8.0
1.7.1
- New feature: Added basic support for multiple languages. Read the documentation on the Bedrock website.