# CHANGELOG

# 2.6.0 (2024-05-23)


### Features

* handle clicks on navCtaLogin button ([8838ea2](https://github.com/SUI-Components/adevinta-spain-components/commit/8838ea2ec4fd3f28effd102bd79ad56d40a98dd7))



# 2.5.0 (2024-05-23)


### Features

* rollout topbar user with login callback experiment ([a9e8c66](https://github.com/SUI-Components/adevinta-spain-components/commit/a9e8c66a582a961eac1d206046db89df2edb2764))



# 2.4.0 (2024-04-30)


### Features

* Update cta copy for the experiment in Motor topbar ([e59f992](https://github.com/SUI-Components/adevinta-spain-components/commit/e59f992c3b250e7106eba3a5b809b9e9ed7956ae))



# 2.3.0 (2024-04-24)


### Features

* add experiment code to topbar user component ([798cefb](https://github.com/SUI-Components/adevinta-spain-components/commit/798cefb7fa3fd2539c1e6dbcb00a08a15d9b2a12))
* lint ([862ee6e](https://github.com/SUI-Components/adevinta-spain-components/commit/862ee6ebc65d5ccd2984b8c18ae4a6dfad4d0909))
* lint ([1c99671](https://github.com/SUI-Components/adevinta-spain-components/commit/1c99671be56add7202083d1f1487399bd3e93b3b))



# 2.2.0 (2024-01-26)


### Features

* **components/topbar/user:** add new props to component ([6652a1f](https://github.com/SUI-Components/adevinta-spain-components/commit/6652a1fb54bfe3fd514cd54a6838a241b1a36567))
* **components/topbar/user:** adjust component styles ([1da38d6](https://github.com/SUI-Components/adevinta-spain-components/commit/1da38d64365ca5a78ce80b3e22b58be57e0b203e))



# 2.1.0 (2023-07-06)


### Features

* **components/topbar/user:** Update topbar dependencies ([ea47d33](https://github.com/SUI-Components/adevinta-spain-components/commit/ea47d336bc4709a740fc0a1b266cc5a74ca914a7))



# 2.0.0 (2023-07-05)


### Features

* **components/topbar/user:** Hide user badge ([1d94bfc](https://github.com/SUI-Components/adevinta-spain-components/commit/1d94bfc7cd5914937a17470509531e70dbcfed85))



# 1.56.0 (2023-04-06)


### Features

* **components/topbar/user:** pass linkfactory prop to CTA button ([2c5091d](https://github.com/SUI-Components/adevinta-spain-components/commit/2c5091dcdc40b23d81b638743f6c80c7654cefae))



# 1.55.0 (2022-10-27)



# 1.54.0 (2022-07-13)


### Features

* **components/topbar/user:** import new dep ([748d6e1](https://github.com/SUI-Components/adevinta-spain-components/commit/748d6e1c5e3a1bc99aa1e5f73cd41bd64bd8e304))
* **components/topbar/user:** use useIsomorphicLayoutEffect for topbar ([9e8ca98](https://github.com/SUI-Components/adevinta-spain-components/commit/9e8ca9875ead17a8cd60e32c71b3697729ccc67d))



# 1.53.0 (2022-05-11)


### Bug Fixes

* **components/topbar/user:** fix brandName rendering ([227c3cc](https://github.com/SUI-Components/adevinta-spain-components/commit/227c3cc842f7ca6a49ef2dcf8b87293b8c79f09b))


### Features

* **components/topbar/user:** accept image node within brand prop ([34784a3](https://github.com/SUI-Components/adevinta-spain-components/commit/34784a35e9043d0add4b2c7cad9a7fc95811952c))
* **components/topbar/user:** adjust styles after including brand image ([1d2277d](https://github.com/SUI-Components/adevinta-spain-components/commit/1d2277d2231c3204c48e7baa7bacae81ab4db77b))



# 1.52.0 (2022-03-11)


### Features

* **components/topbar/user:** add test ([50baaba](https://github.com/SUI-Components/adevinta-spain-components/commit/50baaba67022612b9d30ec5b42a61996ec96a1ea))
* **components/topbar/user:** fix demo ([a097e59](https://github.com/SUI-Components/adevinta-spain-components/commit/a097e59918e400d8237bad552a8358f2a1a16c40))
* **components/topbar/user:** refactor, and extract fixtures ([ea635c2](https://github.com/SUI-Components/adevinta-spain-components/commit/ea635c2fb45107b3fd715295624a2e80cd95af0b))



# 1.51.0 (2022-03-07)


### Features

* **components/topbar/user:** make CTA icon optional ([108dcf3](https://github.com/SUI-Components/adevinta-spain-components/commit/108dcf308c78c70f8d077e156609c7fbb3f190dd))



# 1.50.0 (2022-02-18)


### Features

* **components/topbar/user:** add border radius token ([6d8b35c](https://github.com/SUI-Components/adevinta-spain-components/commit/6d8b35cdaff38c3d265f1327dd67920e495d86f1))
* **components/topbar/user:** fix scss condition ([1ab7e63](https://github.com/SUI-Components/adevinta-spain-components/commit/1ab7e639848e22f466bd1276ecb2b3cd0d321e06))
* **components/topbar/user:** use if not instead if x not null, to fit linter rules ([095e2d8](https://github.com/SUI-Components/adevinta-spain-components/commit/095e2d8acf777e7a5061c0346dd71f8a366e8b1f))



# 1.49.0 (2022-02-01)


### Features

* **components/topbar/user:** Add a scss token to topbar/user to make the icon color customizble fro ([9b2890c](https://github.com/SUI-Components/adevinta-spain-components/commit/9b2890ce379e961b8d920afee0c950b2ac986c89))



# 1.48.0 (2022-01-18)


### Features

* **components/topbar/user:** add new property to navCTA prop ([c3440e7](https://github.com/SUI-Components/adevinta-spain-components/commit/c3440e76ec989f9179473ef0c0ddcbfa288d8947))



# 1.47.0 (2021-09-23)


### Bug Fixes

* **components/topbar/user:** add noop as default value for onClick handler ([5c3a855](https://github.com/SUI-Components/adevinta-spain-components/commit/5c3a855ebbc373d67d35fa9f1ea164eba1d80664))



# 1.46.0 (2021-09-23)


### Features

* **components/topbar/user:** nav main click event ([53031fd](https://github.com/SUI-Components/adevinta-spain-components/commit/53031fd29cabe1c442595130a6c928c4139fffe4))



# 1.45.0 (2020-12-21)


### Bug Fixes

* **topbar/user:** prevent lock scroll on desktop ([02bb4fe](https://github.com/SUI-Components/adevinta-spain-components/commit/02bb4fe9644adb700c8c05f59f44fa731f33d448))



# 1.44.0 (2020-12-10)


### Bug Fixes

* **topbar/user:** fix cta design ([65be99b](https://github.com/SUI-Components/adevinta-spain-components/commit/65be99bd87dbc5e88176a0e5e4fa1de8b6c1f21e))



# 1.43.0 (2020-11-24)


### Features

* **topbar/user:** Use new jsx runtime ([da82198](https://github.com/SUI-Components/adevinta-spain-components/commit/da8219814a1e4c776b7d0dfc3240fb3f9ae9574b))



# 1.42.0 (2020-07-28)


### Features

* **topbar/user:** added the possibility to render custom content. Added tests ([a828646](https://github.com/SUI-Components/adevinta-spain-components/commit/a828646dea95c916eac18220e80478e9a3288a4f))
* **topbar/user:** use size from atombutton constants ([14b3b42](https://github.com/SUI-Components/adevinta-spain-components/commit/14b3b42fdb859c6fea445b8d732978e989cb59ed))



# 1.41.0 (2020-04-14)


### Bug Fixes

* **topbar/user:** button icon current color fix ([24f23be](https://github.com/SUI-Components/adevinta-spain-components/commit/24f23bed4997d1ecedb11d1416db2c3564cae0cb))



# 1.40.0 (2020-03-18)


### Features

* **topbar/user:** onToggle prop ([b09208e](https://github.com/SUI-Components/adevinta-spain-components/commit/b09208e64855649284d1560280f3585dcf8f1c99))



# 1.39.0 (2020-03-09)


### Features

* **topbar/user:** Use new [@s-ui-theme](https://github.com/s-ui-theme) ([1ec6217](https://github.com/SUI-Components/adevinta-spain-components/commit/1ec6217b7e814bae01c72ca2bdfa0246b92af9fa))



# 1.38.0 (2020-03-05)


### Features

* **topbar/user:** Use new [@s-ui](https://github.com/s-ui) packages ([7fbbadb](https://github.com/SUI-Components/adevinta-spain-components/commit/7fbbadb59f1baafa1825cf758512525a4b2fcf39))



# 1.37.0 (2020-02-25)


### Features

* **topbar/user:** Use new [@s-ui](https://github.com/s-ui) org and stop using schibstedspain ([1bba9f0](https://github.com/SUI-Components/adevinta-spain-components/commit/1bba9f0e557598c9799bc80168b518b5e1791041))



# 1.36.0 (2020-02-24)


### Features

* **topbar/user:** Use new [@s-ui](https://github.com/s-ui) react icons ([967f43c](https://github.com/SUI-Components/adevinta-spain-components/commit/967f43cf4917949c177aa280804539389978b977))



# 1.35.0 (2020-01-29)


### Bug Fixes

* **topbar/user:** make sure dom elements are ready to make calculations from their style properties ([dde63ad](https://github.com/SUI-Components/adevinta-spain-components/commit/dde63adae9d97d35b3f019f1e6733c1fec8cf862))
* **topbar/user:** remove not needed dep ([343fc44](https://github.com/SUI-Components/adevinta-spain-components/commit/343fc447aa45123d4c316dc5496a9145e772edcd))
* **topbar/user:** remove not needed node ref ([c718ac7](https://github.com/SUI-Components/adevinta-spain-components/commit/c718ac7e9a510fa4257e057e3b9fb8f5fa4edf1c))
* **topbar/user:** remove not needed param ([413447d](https://github.com/SUI-Components/adevinta-spain-components/commit/413447de6a9241a2193b3ff67ae4938ff19309ff))
* **topbar/user:** use better layout effect ([dd95417](https://github.com/SUI-Components/adevinta-spain-components/commit/dd95417e02b66e84aef623d71d95a0528bc6f3c1))
* **topbar/user:** use ref for storing a window attribute value ([a0c508a](https://github.com/SUI-Components/adevinta-spain-components/commit/a0c508a5489ca99a63d7813aaed04971f61f86cd))



# 1.34.0 (2020-01-27)


### Bug Fixes

* **topbar/user:** refactor code to remove react 17 deprecated feats ([70d34d9](https://github.com/SUI-Components/adevinta-spain-components/commit/70d34d9f735563d9faec38986937e1e0bd9cc7d4))



# 1.33.0 (2020-01-13)


### Features

* **topbar/user:** Replace @schibstedspain/sui-atom-button -> @s-ui/react-atom-button ([2ebd80b](https://github.com/SUI-Components/adevinta-spain-components/commit/2ebd80b769c4f1023ed2349a5b81f45ec055755e))



# 1.32.0 (2019-10-03)


### Bug Fixes

* **topbar/user:** check if element exists before try to modify it style ([59a3c9b](https://github.com/SUI-Components/adevinta-spain-components/commit/59a3c9b3acb6bdacadb220f4f707b55e5f02eb90))
* **topbar/user:** commit to close the issue ([0072ef8](https://github.com/SUI-Components/adevinta-spain-components/commit/0072ef861dc63a7c0ece2307bc5c588ec2aa978e)), closes [#131](https://github.com/SUI-Components/adevinta-spain-components/issues/131)
* **topbar/user:** remove local eslint and use project sui lint ([d63e380](https://github.com/SUI-Components/adevinta-spain-components/commit/d63e380a96685eef2bc253afad0557d5df06d758))



# 1.31.0 (2019-08-14)


### Features

* **topbar/user:** Add UNSAFE to life cycle ([b6afe92](https://github.com/SUI-Components/adevinta-spain-components/commit/b6afe925ecb72d4ebc45637972b1a2fb232dffa5))



# 1.30.0 (2019-04-05)


### Features

* **topbar/user:** swap colors ([0efbf36](https://github.com/SUI-Components/adevinta-spain-components/commit/0efbf3646f2601508bb38601430204bacbd01284))



# 1.29.0 (2019-04-02)


### Features

* **topbar/user:** Remove .npmignore ([adc2719](https://github.com/SUI-Components/adevinta-spain-components/commit/adc2719a186a213a4d3c9b8a715acd7558735f25))



# 1.28.0 (2018-10-30)


### Features

* **dropdown/user:** delete unnecessary assignment ([999a2c2](https://github.com/SUI-Components/adevinta-spain-components/commit/999a2c2d47488c757474fd93658987957f1f1970))
* **topbar/user:** add highlight prop, delete unnecessary cta link ([bae0891](https://github.com/SUI-Components/adevinta-spain-components/commit/bae08915a42713665299bf887a284f9e6a88bd84))



# 1.27.0 (2018-06-19)


### Features

* **topbar/user:** add onclick feature in atom button ([c6c0228](https://github.com/SUI-Components/adevinta-spain-components/commit/c6c0228950c6fe5a72a228f40ee31560e5f9286b))
* **topbar/user:** change prop name and resume default value in atom button ([89f4dec](https://github.com/SUI-Components/adevinta-spain-components/commit/89f4dec1066e0ed42e7e2e2da91a88d2f5f4d05a))



# 1.26.0 (2018-06-12)


### Features

* **topbar/user:** sending needlogin to the dropdown user ([263c111](https://github.com/SUI-Components/adevinta-spain-components/commit/263c111ea288801ccf718b3d7d737c8f5edc3d54))



# 1.25.0 (2018-05-30)


### Features

* **topbar/user:** add default target prop linkfactory ([21b2a70](https://github.com/SUI-Components/adevinta-spain-components/commit/21b2a70705f790207b71677d4f66f20aafddc183))



# 1.24.0 (2018-04-10)


### Features

* **topbar/user:** getting if user nav should be displayed ([410b061](https://github.com/SUI-Components/adevinta-spain-components/commit/410b061453b6c8e26e9bd72a6588c8aad4738c41))



# 1.23.0 (2017-12-05)


### Features

* **topbar/user:** delete unused var ([ce25071](https://github.com/SUI-Components/adevinta-spain-components/commit/ce25071e4857168e9e5c21a54a968c3462248d01))
* **topbar/user:** using atom button in topbar ([121cfc5](https://github.com/SUI-Components/adevinta-spain-components/commit/121cfc5a4701bfeb24cc085f05fcf0eafcfb95e3))



# 1.22.0 (2017-11-23)


### Features

* **topbar/user:** adjust logo margin ([ad5d87f](https://github.com/SUI-Components/adevinta-spain-components/commit/ad5d87f91ba6227cbd0a40b699cee389070f032b))



# 1.21.0 (2017-11-23)


### Features

* **topbar/user:** little fix for different sizes ([9b7a55c](https://github.com/SUI-Components/adevinta-spain-components/commit/9b7a55cae5557f91c4b91b28511a9a32b58370c7))
* **topbar/user:** update variables and add new ones for logo in topbar user ([156eb07](https://github.com/SUI-Components/adevinta-spain-components/commit/156eb07d0c833aa5af5c644ec0bf07107e0276d7))



# 1.20.0 (2017-11-06)


### Features

* **topbar/user:** Bump version ([4fe572f](https://github.com/SUI-Components/adevinta-spain-components/commit/4fe572febcc42a6a9c1762d2c7aa655ec5a34b79))



# 1.19.0 (2017-10-26)


### Features

* **topbar/user:** propagate link factory to dropdown basic ([0e38cfd](https://github.com/SUI-Components/adevinta-spain-components/commit/0e38cfd75ea7570786df1b81ce87066c1866963e))



# 1.18.0 (2017-10-17)


### Features

* **topbar/user:** add badge notification in topbar user component ([d46c3a8](https://github.com/SUI-Components/adevinta-spain-components/commit/d46c3a8a932e27162bed385e0f18a723125275d2))
* **topbar/user:** remove notifications in top bar component ([dc86362](https://github.com/SUI-Components/adevinta-spain-components/commit/dc8636227e9353047a8bc9730c80fee106e3cddb))



# 1.17.0 (2017-10-09)


### Features

* **topbar/user:** migrate to PropTypes package ([fd60b95](https://github.com/SUI-Components/adevinta-spain-components/commit/fd60b9567c3c906aac17504c05d048f3f681fb71))
* **topbar/user:** switch to s-ui/component-dependencies and sui-theme@8 ([8fba008](https://github.com/SUI-Components/adevinta-spain-components/commit/8fba00878ecd9fbd4a9da01be88c34b3f072dbe8))



# 1.16.0 (2017-08-30)


### Bug Fixes

* **topbar/user:** avoid to execute resize handler when user is scrolling down (safari ios does) ([3598765](https://github.com/SUI-Components/adevinta-spain-components/commit/35987652b7b7a869925853ac0c71c5c146a648d4))



# 1.15.0 (2017-08-28)


### Bug Fixes

* **topbar/user:** cache some strings and check if have to restore window scroll ([5224cf1](https://github.com/SUI-Components/adevinta-spain-components/commit/5224cf174e6539e2f39a94581f441a9fed13c196))
* **topbar/user:** fix body scroll position while side menu is being toggled ([af24d0c](https://github.com/SUI-Components/adevinta-spain-components/commit/af24d0c3589eb4ddd5ede71c2919ff3e671d366b))
* **topbar/user:** remove wrong default values ([bea247e](https://github.com/SUI-Components/adevinta-spain-components/commit/bea247e41a385eb813435a642b831cc271104c1e))
* **topbar/user:** switch from set styles to set css classnames in order to avoid ios errors ([177535e](https://github.com/SUI-Components/adevinta-spain-components/commit/177535e7d0fd2369225feeba5977ce87819ba7ad))



# 1.14.0 (2017-08-25)


### Bug Fixes

* **topbar/user:** disable scroll on html and body elements when topbar aside menu is open ([a83b513](https://github.com/SUI-Components/adevinta-spain-components/commit/a83b513f6aefd8f13cfdca85ce88ba5feff2ace4))



# 1.13.0 (2017-08-23)


### Features

* **topbar/user:** make topbar main buttons clickable area bigger ([457cdd8](https://github.com/SUI-Components/adevinta-spain-components/commit/457cdd8994c4da4d2420cf4e13237408732546c7))



# 1.12.0 (2017-08-03)


### Features

* **topbar/user:** include cta mobile button ([9f75885](https://github.com/SUI-Components/adevinta-spain-components/commit/9f75885e55ea57d663557d82df4a58ba688c2782))



# 1.11.0 (2017-06-06)


### Features

* **topbar/user:** allo setting notifications in the cta ([216e338](https://github.com/SUI-Components/adevinta-spain-components/commit/216e338f6ae861af8afca533503c3203cc191a5f))



# 1.10.0 (2017-05-29)


### Features

* **topbar/user:** allow to provide a custom Call to Action in the topbar ([4f574a0](https://github.com/SUI-Components/adevinta-spain-components/commit/4f574a06b7af969392248886813c3944989eb3a8))



# 1.9.0 (2017-05-15)


### Features

* **topbar/user:** include titles ([4cc307d](https://github.com/SUI-Components/adevinta-spain-components/commit/4cc307d073d69fd507f8d0a83c431f923b17236e))



# 1.8.0 (2017-05-04)


### Bug Fixes

* **topbar/user:** use correct events in toggle mode ([caa3971](https://github.com/SUI-Components/adevinta-spain-components/commit/caa397176450b26847e34b4677e47f2643d0e354))



# 1.7.0 (2017-05-03)


### Bug Fixes

* **topbar/user:** fix usage of custom button mixin ([741c340](https://github.com/SUI-Components/adevinta-spain-components/commit/741c3405962d84e116efa72c29f5b5fc14a3b91c))



# 1.6.0 (2017-02-02)


### Bug Fixes

* **topbar/user:** customized topbar brand ([32852fb](https://github.com/SUI-Components/adevinta-spain-components/commit/32852fb7a4119ef37726e6089ceae9e28106ec59))



# 1.5.0 (2017-01-30)


### Bug Fixes

* **topbar/user:** set a max width ([abde18e](https://github.com/SUI-Components/adevinta-spain-components/commit/abde18e300e0282e72ef904878e86f614a61c94d))



# 1.4.0 (2017-01-26)


### Bug Fixes

* **topbar/user:** adjusting colors and breakpoints ([eab1ff9](https://github.com/SUI-Components/adevinta-spain-components/commit/eab1ff90f86c39ab664c1c5b9a9eab8ca7da2cb5))