- Mock Data from - http://www.mocky.io/v2/5ba8efb23100007200c2750c .
On typing in the search input box, the search results list opens up. The search could be just a string matching search.
- Matching text is highlighted in blue color as displayed in the search result list UI
- If a search query is found in items, then it shows “{{queryValue}} found in items”
- The list of cards can be navigated through keyboard or mouse
- Only one card highlights at a time if both mouse and keyboard are used for navigation
- Keyboard takes preference if mouse is kept hovered on the list, similarly mouse takes preference if keyboard navigation is not used
- When no search results are found, an empty card is displayed
- The card list is scrollable
- The highlighted card (via keyboard/mouse) is scrolled into view