freenowtech / wave

Design System of FREE NOW
https://wave.free-now.com
Apache License 2.0
64 stars 22 forks source link

fix: extends InputProps on search and spread into search SyledInput #439

Closed dornelasnelson closed 5 months ago

dornelasnelson commented 5 months ago

What

Make SearchProps extend the InputProps and spread its props into the StyledInput of the Search component.

Media

No UI change.

Why

Search missed a few InputProps to it's StyledInput; the one missing that we currently wanted to use is autoFocus so that we can have the user automatically focus in the SearchInput with a single attribute.

How

Making SearchProps extend InputProps (omitting results because of conflict) and removing a few props from SearchProps (disabled, placeholder, size) as they are already in InputProps

github-actions[bot] commented 5 months ago

:tada: This PR is included in version 2.1.4 :tada:

The release is available on:

Your semantic-release bot :package::rocket: