Releases: bananacss/bananacss
Releases · bananacss/bananacss
V 0.8.0 - @function and bananafile.js
bananafile.json
for customize your build.@function
andbnn-function
features created.
V 0.7.2
- Fix default output path
V 0.7.1 - Fix Banana module arguments and Refactor all project
- 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
V 0.6.0 - Feature injection
- 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
V 0.5.0 - bnnWidth and bnnHeight
- New property:
bnn-width
- New property:
bnn-height
V 0.4.3 - Error handling
- Improvements on error handling
- Refactor watcher feature
V 0.4.2 - Fix positioning bugs
- addProperty() abstraction created
- removeProperty() abstraction created
- Fix all positioning bugs
V 0.4.1 - Code Style Guide
- Banana NodeJS code style guide added.
- ESLint > JSHint