Skip to content

Releases: dzucconi/proportional-scale

v4.0.0

30 Jul 19:32
Compare
Choose a tag to compare

4.0.0 (2020-07-30)

Features

  • scale: exports paddingBottom; cleans up type names (78251a5)

BREAKING CHANGES

  • scale: An exported type is re-named for clarity: Required => AspectDimensions; safe to
    ignore if you don't import the type

v3.0.1

10 Jul 18:50
381a5e4
Compare
Choose a tag to compare

3.0.1 (2020-07-10)

Bug Fixes

  • factor: fixes landscape bounded by differing maxHeight/Width (1105656)

v3.0.0

16 Apr 16:18
2a0ae82
Compare
Choose a tag to compare

3.0.0 (2020-04-16)

Bug Fixes

  • factor: corrects case when both maxWidth and maxHeight are passed (d5130ff)

BREAKING CHANGES

  • factor: it is possible that one was relying on the buggy behavior and this fix will present
    rectangles that are now smaller

v2.1.1

15 Nov 14:47
Compare
Choose a tag to compare

2.1.1 (2019-11-15)

Bug Fixes

  • types: fixes typo in types key (b6b0045)

v2.1.0

15 Nov 14:38
Compare
Choose a tag to compare

2.1.0 (2019-11-15)

Features

  • types: emits types and source maps to dist (19eac91)

v2.0.0

15 Nov 14:20
4abaa57
Compare
Choose a tag to compare

2.0.0 (2019-11-15)

Code Refactoring

  • scale: adjusts api to accept width/height instead of aspect- (5d46f20)

BREAKING CHANGES

  • scale: aspectWidth becomes width; aspectHeight becomes height

v1.0.0

15 Nov 13:25
Compare
Choose a tag to compare

1.0.0 (2019-11-15)

Features

  • scale: implements scale function (bfaa0f1)