Skip to content

Releases: tagZero/use-text-width

v1.2.1

14 Feb 21:26
Compare
Choose a tag to compare

Fix

  • Broken build

Improvement

  • Use yarn4

v1.2.0

23 Aug 13:54
0c6bc16
Compare
Choose a tag to compare

Improvements

  • Set target library to ES5

v1.1.0

25 Feb 16:52
e054f40
Compare
Choose a tag to compare

Improvements

  • Performance improvement by removing useState for the width
  • Unit test coverage
  • Type definitions

v0.4.0

15 Nov 11:38
Compare
Choose a tag to compare

Improvement

  • Bundle all formats (cjs, es, umd) properly along with the type definitions

v0.3.2

15 Nov 10:29
Compare
Choose a tag to compare

Fixed

  • Library import issue

v0.3.1

15 Nov 10:21
Compare
Choose a tag to compare

Fixed

  • Resolve Jest issues in imported library

v0.3.0

15 Nov 09:30
Compare
Choose a tag to compare

New

  • Add string[] option to text prop for the calculation of max width in array items

v0.2.0

14 Nov 18:42
Compare
Choose a tag to compare

New

  • Added ref prop to be able to pass element rather than text/font

v0.1.0

14 Nov 18:03
Compare
Choose a tag to compare
initial commit