This repository has been archived by the owner on Dec 2, 2021. It is now read-only.
Releases: IjzerenHein/autolayout.js
Releases · IjzerenHein/autolayout.js
Maintenance update
- BREAKING CHANGE: Fixed typo "lineSeperator" -> "lineSeparator" (thanks NathanFlurry)
- Updated to latest NPM packages (babel, grunt, etc..)
Explicit constraint syntax
- Added support for explicit constraint syntax:
C:view.left(20).centerY(view2).height(view2.width*2)
Support for negative values (overlapping views)
- Added support for negative values (e.g. -10, -50%). This makes it possible create overlapping views.
v0.5.2
v0.5.1
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
New:
- Added support for view ranges (e.g.
|[view1..5]|
) - Added support for multiple view selection (e.g.
[view1,view2,view3]
)
v0.4.3
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
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
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
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)