Skip to content
This repository has been archived by the owner on Dec 2, 2021. It is now read-only.

Releases: IjzerenHein/autolayout.js

v0.3.0

23 Jul 12:03
Compare
Choose a tag to compare

Project:

  • All .es6 files have been renamed to .js.
  • cassowary.js is now included in dist/autolayout.js.
  • Added source maps to dist/.
  • Added benchmarks.
  • Added autolayout.js to bower.

Core:

  • Fix: Numbers in visual-formats now support decimals (e.g. [view(10.5)])

Extended visual format:

  • Added support for view stacks (e.g. |[column:[header(50)][content][footer]]|)
  • Added support for equal spacers (centering) (e.g. |~[centered(100)]~|)
  • Added support for proportionally sizes spacers (e.g. |-12%-[content]-(10%)|)
  • Added support for disconnections -> (right/bottom alignment) (e.g. |[left(10)][left2]->[right]|)

Priorities, intrinsic size, fitting size & EVFL extensions

24 Jun 10:26
Compare
Choose a tag to compare

Core:

  • Added support for priorities.
  • Added support for z-indexing.
  • Added ability to set the intrinsic width and height for sub-views.
  • Added ability to get the fitting size of a View.
  • View-names now have to follow strict C-identifier name rules (cannot start with a digit or contain '-').

Extended Visual Format:

  • Added support for operators + and - (e.g. [view1(view2+100)]
  • Added support for attributes accessors (e.g. |[view1(view1.height)]|
  • Added support for line comments (e.g. |[view1]| // line comments)
  • Added support for z-ordering (e.g. Z:|[view1][view2])

Initial release

11 Jun 15:20
Compare
Choose a tag to compare
v0.1.0

Added npm badge