Releases: motiondeveloper/eBox
Releases · motiondeveloper/eBox
Corner rounding support
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
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
1.2.0 prettify readme
update to rollup-plugin-ae-jsx v2\
1.1.0 prettify readme
Add version
Add package version to built file.
Initial official release
Initial release of typescript and rollup build.