This appears to require jQuery. In a workflow where jQuery is used, this is a great library, nice and lean and neatly integrated.
Salvattore.js, Bricks.js and even Masonry do not require jQuery, however, and neither do they require an external stylesheet. So, if you're not already using jQuery, that 1.1kb gzipped size isn't much of a selling point considering that I'd have to include jQuery's fat ass.
This isn't judgement on this library in particular, but I'm now finding myself in a position where I'm saying "I can't use this because it's jQuery-dependent." My new projects pretty much don't need jQuery because so many libraries have moved on to vanilla JS.
This is nice, but... dropping that dependency wouldn't hurt, IMO.
Here one of the authors :) Your comments made us happy and made us to make the library better.
According to these comments we dropped jQuery dependency and it's purely vanilla.
And about the CSS dependency, we think an external stylesheet doesn't make things make fatter or harder but cleaner and extensible. And the external CSS which Bricklayer has is not mandatory which you can simply change. You can think of it as a default styling.
That's awesome! I've starred this and will think about using it next time I'm working with a grid layout. Thanks also for responding so gracefully to feedback. :)
But what about vanilla js
Just what I needed :D
Isn't it super weird that the order of the blocks changes after you've resized to "mobile" and then back to "normal"?
We realized this issue this morning. It occurs on prepend action. The last prepended item goes to top of element stack. And when it reorders all the elements from the beginning, it changes the visual order and rearranges boxes which causes this issue.
Amazing....You left me speechless