All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
- #405 Fixed issue where the shorthand override for flexbox wasn't working for the override of the global flexbox setting for
lost-center
.
There are various bug fixes in here due to increasing the test coverage. Huge props to @BarryThePenguin for setting up the coverage! A small change but it helped bring to light a fair amount of bugs (the ones listed here are not the only ones see: #384, #385).
- #381 Code Coverage is now 100% Thanks @peterramsing 😳
- #381 Fixed an issue where explicitly setting a custom
lost-column
orlost-waffle
cycle to zero might not work correctly. - #381 Fixed an issue where the flexbox long-form for
lost-waffle
woudn't actually set. - #381 Fixed an issue where the long-form
lost-masonry-wrap-gutter
didn't actually do anything. 😳 - #383/#384 Fixed an issue lost-masonry-column does not support no unit on a "0 gutter"
- #385 Fixes issue where long-form flex isn't being set correctly
- #389 New and improved Variables for using the gutters for other things like padding, etc. Thanks @codebysubtract 💪
- #396 New grid overlay to help visualize your grid. Thanks @codebysubtract 📏
Diff with previous minor version 8.1.0
- #379 Updated to PostCSS version 6.0.2 - Thanks @codebysubtract ☕️
- #374 Fixes issue with
flex-basis
where IE10/11 would not lay out correctly withlost-column
. - Thanks @finneganh! 🏙
- #337
lost-column
not supports decimals without the leading zero. - Thanks @codebysubtract! 🔢 - #365
lost-center
now supports fractions! - Thanks @codebysubtract 📈 - #363 Add param for
lost-offset
that disables it
- #375 Deprecation of Node move methods in postcss is triggering deprecation message "Node#moveTo was deprecated. Use Container#append." - Thanks @thebuilder 🏗
- #368 Adds NYC and Codecov coverage for reporting - Thanks @BarryThePenguin! 🛰
- #364 Inline docs are removed from the code, see lostgrid.org for docs.
Diff with previous minor version 8.0.0
- #339 Fixes issue where
lost-align
was targeting the incorrect element when using flexbox. - #329 Issue where flex-basis needed to be set for IE 10/11
- Issue where 99.9 pixels could cause issues. You can now use the custom rounder to fine-tune your width to remove pixel rounding issues.
- #343 Changes how the
lost-waffle
last element in a row is floated. Before, the last element in a row would be floated right where everything else would float left. This is typically with row based grids, however when using the waffle grid it was a bit strange. This now allows for a param to be used instead if you want the last element to float right and all elements floating left is default. - (#184)[API Change] Changes the lost-offset to be more intuitive. This reverses the current api from moving left to right based on negative fractions which didn’t make much sense. This breaks that api’s current functionality and makes it more intuitive.
- #345 Customizable units for calc (vw).
- In the
master
branch a warning was added for older versions of Node.JS so that there could be a notification for those using older version that it was being dropped in LostGrid version 8. This is included in this release but will probably be removed by the time this is merged intomaster
. - Global and local configuration for setting the "rounder". The default is 99.9% but this can be adapted with a global
@ rounder [insert percent here]
or you can do it on the local level withlost-column-rounder: 100
rule.
- Docs from the README.md file. I'd love to just have one place for these and that's at lostgrid.org.
- Added a way to validate whether or not a unit is valid based on the declaration.
- You're now able to pass a unit into the calcValue instead of the hard-coded %.
- Some new global logic for things. I'm a huge fan of breaking things out so they can be reused...LostGrid is in dire need of some breaking out within the codebase. This starts this (and it's been epic already and is starting to simplify things and improve readability.