Releases: zoltantothcom/react-clamp-lines
Releases · zoltantothcom/react-clamp-lines
v3.0.2 release
[3.0.2] - 2019-05-24
Bugfix
- Fixed broken TS definitions
v3.0.0 release
[3.0.0] - 2019-05-08
Added
- [ BREAKING ] Required id property for ARIA props
v2.3.0 release
[2.3.0] - 2019-04-16
Enhancements
- Added
ARIA
attributes to button and clamped text container to improve accessibility.
v2.2.0 release
[2.2.0] - 2019-01-28
Enhancements
- Server side rendering displays the full text.
v2.1.0 release
[2.1.0] - 2019-01-15
Enhancements
- Added support for
stopPropagation
- prevents the event from bubbling up the DOM tree when clicked on the «Read more» button - Modified declaration file to export
ClampLines
as default in a module
Bugfix
- Fixed issue when rendered text does not update if the prop changed
v2.0.2 release
[2.0.2] - 2018-12-07
Bugfix
- Debounced clamp attempt on unmounted component resulted in
TypeError
v2.0.1 release
[2.0.1] - 2018-12-06
Added
- [ BREAKING ] PropTypes for type checking
Enhancement
- Type declaration file added for TypeScript