All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
2.0.0-alpha1 - 2016-08-12
- Added a CHANGELOG.md
- Breaking: Measure the parent node rather than the wrapper. You will need to wrap this component in a
<div>and style that. - Breaking: Removed
containerStyleandcontainerClassoptions - the wrapper<div>is no longer used for calculating dimensions. - Breaking: Removed options
getWidthandgetHeight, replaced withgetDimensions. This will allow replacing the current dimensions calculation with a single call togetBoundingClientRect(), rather than two. Currently we are still usingelement.clientWidthandelement.clientHeightfor dimension calculation.
1.2.0 - 2016-05-26
getWrappedInstance()method (#24)
1.1.1 - 2016-04-29
- Roll back accidental breaking change introduced in v1.1.0 by switching to babel v6 and changing default exports for CommonJS (#23)
1.1.0 - 2016-04-28
- Update dimensions when an container element resizes without window resize (#4)
- Allow style of container
divto be overridden withcontainerStyleoption. updateDimensionsfunction passed as prop passed to children to force a recalculation of dimensions.
- Only update state if dimensions actually change (aa5fc1e9f1625f2195259c8fc7d7d041d5d53a66)
- Update to Babel 6
- Switch to documentationjs from doxme for README generation.
- Now works in popup windows and iframes with a different
windowcontext (#22)