Skip to content

Releases: bananacss/bananacss

V 0.8.0 - @function and bananafile.js

28 Aug 21:37
Compare
Choose a tag to compare
  • bananafile.json for customize your build.
  • @function and bnn-function features created.

V 0.7.2

26 Aug 15:41
Compare
Choose a tag to compare
  • Fix default output path

V 0.7.1 - Fix Banana module arguments and Refactor all project

26 Aug 01:15
Compare
Choose a tag to compare
  • Fix Banana Render usage
  • Fix modules jsdocs
  • Docs improvements
  • All project refactored with css-ast-iterations API

V 0.7.0 - Grid / Box Model / Minify

13 Aug 23:10
Compare
Choose a tag to compare

minions-funny-gif-GiNyo8KD5j9mM

  • Banana grid system
    • bnn-row
    • bnn-col
  • Box Model
    • bnn-box (inside or outside)
  • Option for compress/minify the generated CSS.

V 0.6.0 - Feature injection

09 Aug 05:02
Compare
Choose a tag to compare
  • Fix @import syntax
  • Folders structure refactor
  • New feature injection syntax
const inputBananaCode = '.a {bnn-size: 50px;}';

// Features injection
const config = {};
config.bnnSize = true; // Default: false
config.bnnPosition = true; // Default: false
config.bnnGradient = true; // Default: false
config.bnnVariable = true; // Default: false
config.bnnImport = true; // Default: false
config.bnnAlign = true; // Default: false
config.bnnWidth = true; // Default: false
config.bnnHeight = true; // Default: false

const Banana = require('banana')(config);

// Output the css
const output = Banana.render("./fake_path.bnn", inputBananaCode);

console.log(output); // .a {width: 50px; height: 50px;}

V 0.5.1 - JSDoc

08 Aug 03:36
Compare
Choose a tag to compare
  • JSDoc added
  • Folders structure refactor

giphy 1

V 0.5.0 - bnnWidth and bnnHeight

07 Aug 05:03
Compare
Choose a tag to compare
  • New property: bnn-width
  • New property: bnn-height

V 0.4.3 - Error handling

07 Aug 03:22
Compare
Choose a tag to compare
  • Improvements on error handling
  • Refactor watcher feature

V 0.4.2 - Fix positioning bugs

06 Aug 06:42
Compare
Choose a tag to compare
  • addProperty() abstraction created
  • removeProperty() abstraction created
  • Fix all positioning bugs

V 0.4.1 - Code Style Guide

05 Aug 19:03
Compare
Choose a tag to compare