Skip to content

v0.20.0: New select input (#49)

Compare
Choose a tag to compare
@bedakb bedakb released this 09 Dec 12:39
· 245 commits to master since this release
e3a564c
* Initial draft - WIP

* Refactor SelectList component

* Extract refs reducer to a separate fn

* Port over missing funtionalities

* Bugfixes, add additional tests, CSS cleanup

* More CSS updates

* Small refactor and add more tests

* Extract options into the variable

* Final refactor

* Make value optional, pass missing prop to select-list and fix css

* CSS Updates, clear value from search select on input click etc.

* CSS Fixes

* Remove `scrollIntoView` functionality

* Remove Props export, change method name

* Remove constructor from select-list

* Change return type of optionsRenderer to `React.ReactNode`

* Review #1

* Review: rename `optionsRenderer` -> `renderOptions`

* Review: add classname to ul element, introduce `filterBy`

* Review: update search-input.tsx and use It in select.tsx

* CSS Updates

* small css updates