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

Releases: IjzerenHein/autolayout.js

Maintenance update

14 Jan 14:45
Compare
Choose a tag to compare
  • BREAKING CHANGE: Fixed typo "lineSeperator" -> "lineSeparator" (thanks NathanFlurry)
  • Updated to latest NPM packages (babel, grunt, etc..)

Explicit constraint syntax

12 Apr 14:06
Compare
Choose a tag to compare
  • Added support for explicit constraint syntax: C:view.left(20).centerY(view2).height(view2.width*2)

Support for negative values (overlapping views)

10 Feb 11:55
Compare
Choose a tag to compare
  • Added support for negative values (e.g. -10, -50%). This makes it possible create overlapping views.

v0.5.2

22 Sep 19:53
Compare
Choose a tag to compare
  • 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

31 Jul 05:36
Compare
Choose a tag to compare

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)]])

Support for multi-view selection

30 Jul 19:13
Compare
Choose a tag to compare

New:

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

v0.4.3

29 Jul 18:58
Compare
Choose a tag to compare

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

28 Jul 15:54
Compare
Choose a tag to compare

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

28 Jul 07:46
Compare
Choose a tag to compare

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

27 Jul 12:59
Compare
Choose a tag to compare

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)