-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autocomplete + Suggester components #981
Conversation
Unchanged from dotcom
This pull request is being automatically deployed with ZEIT Now (learn more). 🔍 Inspect: https://zeit.co/primer/primer-css/2778zsbso |
Will stay in /hacks for now
Switching around source order makes it possible drop the `suggestions list-style-none position-absolute` classes.
Something we might can consider one day: Combine the "Autocomplete" and "Suggester" component. Visually, the main difference is that the "Suggester" has a border between items, but otherwise they are pretty similar. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huzzah! Nice work. I'm going to file an issue re: one of my pet peeves in this UI, but we can address that later. 😉
This adds the Autocomplete and Suggester components from dotcom.
.autocomplete-results
.suggester
📖 Docs Preview
TODO
TODO on dotcom
autocomplete.scss
https://github.com/github/github/pull/129266autosuggest.scss
https://github.com/github/github/pull/129266/cc @primer/ds-core