Autolayout.js Versions Save

Apple's Auto Layout and Visual Format Language for javascript (using cassowary constraints)

v0.7.0

7 years ago
  • BREAKING CHANGE: Fixed typo "lineSeperator" -> "lineSeparator" (thanks NathanFlurry)
  • Updated to latest NPM packages (babel, grunt, etc..)

v0.6.0

8 years ago
  • Added support for explicit constraint syntax: C:view.left(20).centerY(view2).height(view2.width*2)

v0.5.3

8 years ago
  • Added support for negative values (e.g. -10, -50%). This makes it possible create overlapping views.

v0.5.2

8 years ago
  • Fixed meta-info parse error with spacing (#5)
  • Added ability to specify spacings for z-indexes (e.g. Z:|[background]-20-[child])
  • Removed requirement to start with super-view for z-indexes (e.g. Z:[child][child2] now also works i.s.o. Z:|[child1][child2])

v0.5.1

8 years ago

Fixes:

  • Fixed regression bug in view stacks which caused the first view inside to not be constrained correctly. (e.g., this didn't work correctly anymore: |[col:[header(50)][content][footer(50)]])

v0.5.0

8 years ago

New:

  • Added support for view ranges (e.g. |[view1..5]|)
  • Added support for multiple view selection (e.g. [view1,view2,view3])

v0.4.3

8 years ago

Fixes:

  • Fixed dist-files and package.json so it can be consumed by browserify
  • Fixed view stacks not processed correctly when not preceded by another view in the row.
  • Duplicate stack-name errors are now thrown including a column number.

v0.4.2

8 years ago

New:

  • Added support for using the view width/height inside a connection expression (e.g. |-(view1)-[view1]|)
  • Added support for using the view width/height inside a equal size connection expression (e.g. |~(view1)~[view1]~|)

Fixes:

  • Fixed exception when a view stack wasn't preceded by a view/superview.

v0.4.1

8 years ago

New:

  • Added support for multiple orientations to EVFL (e.g. HV:|[background]|)
  • Added option 'prefix' to VisualFormat.parseMetaInfo() for optionally parsing prefixed categories

v0.4.0

8 years ago

New:

  • Added VisualFormat.parseMetaInfo() for parsing meta-info from VFL comments.
  • Added additional tests.

Experimental:

  • Added experimental kiwi version (dist/autolayout.kiwi.js). Kiwi is a new lightweight and fast cassowary solver written in typescript. Preliminary tests show that it's about 8x faster than cassowary.js (https://github.com/nucleic/kiwi/tree/feature-js)