Skip to content

Releases: artginzburg/css-clamper

v0.2.0

21 May 05:40
Compare
Choose a tag to compare

What's Changed

  • Feature: extend size by @artginzburg in #10
  • Updated devDependencies in 01501c1
  • Refactor — improve readability and performance

Full Changelog: v0.1.5...v0.2.0

v0.1.5

13 May 00:27
Compare
Choose a tag to compare

Move to using .js extensions everywhere (44f09fa)

v0.1.4

12 May 17:04
Compare
Choose a tag to compare
v0.1.4 Pre-release
Pre-release

Use a simpler implementation of Array.at() instead of a core-js polyfill

v0.1.3

12 May 16:35
Compare
Choose a tag to compare
v0.1.3 Pre-release
Pre-release

Dev-only:

  • Added more tests
  • Updated some devDependencies
  • Added some coverage services to decide which one is better

v0.1.2

06 Mar 13:54
Compare
Choose a tag to compare

Hotfix

v0.1.1

06 Mar 13:08
Compare
Choose a tag to compare

First working version

Features

  • Calculates from px and rem values
  • Swaps params if needed to go from max to min
  • Simplified creation of custom clamper function (for different viewport limits)

Additional behavior

  • Returns zeroes if provided with unsupported input (empty string)

Maintenance logic

  • Fully written in TypeScript
  • 100% covered in Unit-tests (with Jest)
  • Automatic publishing to NPM Registry based on a GitHub Release