# CHANGELOG

# 1.32.0 (2021-01-28)


### Bug Fixes

* add safety check on unmount before disconnecting intersection observer ([56023e5](https://github.com/SUI-Components/sui/commit/56023e55bf7820343059e849bbbc4dfc4cefe777))



# 1.31.0 (2021-01-26)


### Bug Fixes

* proptype undefined ([ba4aa1a](https://github.com/SUI-Components/sui/commit/ba4aa1a96e315f1f51f3b2cad32bf08c0c51b83f))
* withIntersectionObserver - memory leak - cancel all subscriptions  and asyncronous tas ([9f9653a](https://github.com/SUI-Components/sui/commit/9f9653ac75f53a23b1ef1de202955242402abe3e))



# 1.30.0 (2020-12-14)


### Bug Fixes

* force new release ([a57c800](https://github.com/SUI-Components/sui/commit/a57c80064b0cb420289f4e2426bc9111acdce612))



# 1.29.0 (2020-12-14)


### Bug Fixes

* fix isOpen initial state to withOpenToggle HOC ([c46ae37](https://github.com/SUI-Components/sui/commit/c46ae37cd059121b06c45d652544540b79c5d016))



# 1.28.0 (2020-12-09)


### Bug Fixes

* back to the previous behavior version ([1786769](https://github.com/SUI-Components/sui/commit/178676919d17368d3ab387d4266ecf51bb32f951))



# 1.27.0 (2020-11-30)


### Bug Fixes

* add proptypes ([95be67c](https://github.com/SUI-Components/sui/commit/95be67c96e7333cf96d5f9c8f59c691117c10d90))
* apply PR suggestion ([d83fbd5](https://github.com/SUI-Components/sui/commit/d83fbd5c28c41412a568e81268d3b760a78e1b19))
* apply PR suggestions ([7c48d52](https://github.com/SUI-Components/sui/commit/7c48d5294a1125a3b8e25645fdd9763a099cd6fd))
* define default state with prop ([057cfe5](https://github.com/SUI-Components/sui/commit/057cfe54cb9e3f5f5b2fca5d1d567ee2384bc786))



# 1.26.0 (2020-10-23)


### Features

* support react 17 as peer dependency ([300195c](https://github.com/SUI-Components/sui/commit/300195c9390d8d36c49302865fdaf4df9b9e7e25))



# 1.25.0 (2020-05-13)


### Features

* update intersection observer version ([3141f14](https://github.com/SUI-Components/sui/commit/3141f142b18514973b7078f9dfdbfa6fa15c1c53))



# 1.24.0 (2019-10-31)


### Features

* more generic values to propagate ([947ee59](https://github.com/SUI-Components/sui/commit/947ee5952cd2e8059abab1070fca95d49a65a327))



# 1.23.0 (2019-10-29)


### Features

* upgrade intersection-observer version ([6d99c4b](https://github.com/SUI-Components/sui/commit/6d99c4b2d3aa9e27ae460d8dcc1631dcccf4281a))



# 1.22.0 (2019-10-03)


### Features

* name to handleChange ([f13e149](https://github.com/SUI-Components/sui/commit/f13e149179951b7f2ce8cf574727b31a8e31cdab))



# 1.21.0 (2019-09-30)


### Bug Fixes

* cleaner code assuring boolean value ([c99bd82](https://github.com/SUI-Components/sui/commit/c99bd82e7271b7fb64a0af670c7b460b59a5c4ce))



# 1.20.0 (2019-09-30)


### Features

* withSwitchValue ([a9bd22b](https://github.com/SUI-Components/sui/commit/a9bd22b3919d77ccc784ebf0a94b2b760860736a))
* withSwitchValue update ([0f43540](https://github.com/SUI-Components/sui/commit/0f43540b2497d44eb38d04d900f3902750f75de8))



# 1.19.0 (2019-07-23)


### Features

* move component dependencies to devDependencies ([bd30aa1](https://github.com/SUI-Components/sui/commit/bd30aa13c5ecbeab170c03d6371519579f691753))
* move sui-react-context to peerDep ([63d144a](https://github.com/SUI-Components/sui/commit/63d144a11b0057828bd92b80700190f231f2a864))



# 1.18.0 (2019-04-18)


### Bug Fixes

* install sui-react-context from peer dependencies ([f942b0f](https://github.com/SUI-Components/sui/commit/f942b0f51d2d96ccbb65cc0dc2712d22b9e8d699))


### Features

* add new hocs for using the new react context api ([22201c4](https://github.com/SUI-Components/sui/commit/22201c4227e47c6c5e200bb8ffa3e60800adaad3))



# 1.17.0 (2019-03-18)


### Bug Fixes

* Release library with correct babel-preset-sui installed ([39a0f9f](https://github.com/SUI-Components/sui/commit/39a0f9f8be7183e99db3f089a9b1972b476f4f73))



# 1.16.0 (2019-03-18)


### Features

* Move to babel-preset-sui@3 ([17db36e](https://github.com/SUI-Components/sui/commit/17db36ef39d7219d896354c7ef847a024f1d7f38))



# 1.15.0 (2019-02-21)


### Bug Fixes

* force release ([754b156](https://github.com/SUI-Components/sui/commit/754b15621f4ab651e00b1689e913b8b32484b819))



# 1.14.0 (2019-02-21)


### Bug Fixes

* fix import export modules ([f363402](https://github.com/SUI-Components/sui/commit/f3634025c6a3a12c18ad571e5f0888e2a5feb862))



# 1.13.0 (2019-02-21)


### Features

* migrate to babel 7 ([a4404e0](https://github.com/SUI-Components/sui/commit/a4404e008fd92ce277f2386e98df6004ba893172))



# 1.12.0 (2019-02-20)


### Bug Fixes

* use same version of the package as other libraries to avoid having twice the same ([ea69031](https://github.com/SUI-Components/sui/commit/ea69031d4f7a0007e5c490fe2bc666375f180a37))



# 1.11.0 (2019-02-19)


### Bug Fixes

* Use local babel-preset-sui for each project ([9600ba9](https://github.com/SUI-Components/sui/commit/9600ba9e9acdc8a22657cca3faa23385b4cb2ab6))



# 1.10.0 (2019-01-31)


### Features

* better name for hoc w/ options ([8477c01](https://github.com/SUI-Components/sui/commit/8477c01cfb5b0d77ff5b132a52d91ba6dba6bf6b))
* exact version ([84dd8e7](https://github.com/SUI-Components/sui/commit/84dd8e723db386a51a67864671527c8eec5db82c))
* intersection observer lazy loading ([3256f94](https://github.com/SUI-Components/sui/commit/3256f94450791628f87e4b07deb447b6ff4fee73))
* intersection-observer hoc ([1ebc8a0](https://github.com/SUI-Components/sui/commit/1ebc8a060dccba1d6809b442ad00755a8837e7f4))
* options added ([d82bb95](https://github.com/SUI-Components/sui/commit/d82bb95de0268c51492cd826823dd248aca17656))
* options to intersection observer in hoc ([9517c48](https://github.com/SUI-Components/sui/commit/9517c48a0d9cfe7773de505729e6066b30fbe895))



# 1.9.0 (2019-01-07)


### Features

* withStateValueTags ([2022657](https://github.com/SUI-Components/sui/commit/2022657a16c9ac51f93f365eb51c8087928d4a6b))



# 1.8.0 (2019-01-04)


### Features

* withOpenToggle ([17e7a43](https://github.com/SUI-Components/sui/commit/17e7a4352541d59c47eb97bf00cff509d280739a))
* withOpenToggle ([71c8710](https://github.com/SUI-Components/sui/commit/71c87101aa596e6a747b6cb8703d378e62bbe79e))



# 1.7.0 (2019-01-02)


### Features

* no default value ([92cda0e](https://github.com/SUI-Components/sui/commit/92cda0eb7c50eac9ea57d85c7613970ef449dd07))



# 1.6.0 (2018-12-07)


### Features

* displayName added ([fdb9ab3](https://github.com/SUI-Components/sui/commit/fdb9ab3d15e3e54872acf6901a264dce261d9177))
* index added ([1865e67](https://github.com/SUI-Components/sui/commit/1865e670f30be6ffde27d7c6af0f9746b65001a8))
* withStateValue hoc ([840e095](https://github.com/SUI-Components/sui/commit/840e09519ddd5a550ffbd12e545790f9c16c9acf))



# 1.5.0 (2017-10-26)


### Features

* fix proptypes and prepare for react 16 using external prop types library ([1f5baf7](https://github.com/SUI-Components/sui/commit/1f5baf7c4064d1c6e63e5caef947d33ec12a8730))



# 1.4.0 (2017-09-21)


### Features

* Move package from [@schibstedspain](https://github.com/schibstedspain) scope to [@s-ui](https://github.com/s-ui) org ([a82560e](https://github.com/SUI-Components/sui/commit/a82560e6e405088f063716fc7bbc99c87800d95b))



# 1.3.0 (2017-08-09)


### Bug Fixes

* avoid installing devDependencies ([0ab4d77](https://github.com/SUI-Components/sui/commit/0ab4d7717b25fd0a7a592187b9e8bbf48103e986))
* wrong way to construct childContextTypes ([6e600c5](https://github.com/SUI-Components/sui/commit/6e600c554fbde49997d8d02301c1ae46ef7310af))



# 1.2.0 (2017-08-02)


### Features

* add Readme ([bff8988](https://github.com/SUI-Components/sui/commit/bff89881e2017ab397ccd77fc80eb49e440534b2))



# 1.1.0 (2017-08-02)


### Features

* 🌈 First Commit ([b09a168](https://github.com/SUI-Components/sui/commit/b09a168101aaaa4e8d2878b430ecf6490f9673eb)), closes [#71](https://github.com/SUI-Components/sui/issues/71)



