Skip to content

Releases: motiondeveloper/eBox

Corner rounding support

14 Apr 04:09
Compare
Choose a tag to compare

Add support for independant corner rounding using the rounding property:

const myBox = createBox({ rounding: [12, 12, 12, 12] });

Also add support for new anchor points, now 6 in total. Now in addition to each corner, you can size and position from edge centers.

type Anchor =
  | 'topLeft'
  | 'topCenter'
  | 'topRight'
  | 'bottomRight'
  | 'bottomCenter'
  | 'bottomLeft'
  | 'centerLeft'
  | 'center'
  | 'centerRight';

Allow more anchor points

16 Mar 07:44
Compare
Choose a tag to compare

Allow more anchor points to be passed to createBox and setScale.

Now you can use the 'center' anchors of each side, e.g. 'topCenter', 'bottomCenter'.

Update types

25 Sep 23:14
Compare
Choose a tag to compare
1.2.0

prettify readme

update to rollup-plugin-ae-jsx v2\

24 Sep 03:57
Compare
Choose a tag to compare
1.1.0

prettify readme

Add version

22 Sep 02:24
Compare
Choose a tag to compare

Add package version to built file.

Initial official release

18 Aug 08:03
Compare
Choose a tag to compare

Initial release of typescript and rollup build.