Conversation
|
This pull request is being automatically deployed with ZEIT Now (learn more). 🔍 Inspect: https://zeit.co/primer/primer-css/567bgohgv |
|
There is now a "borderless" option by adding This also works with dividers. You can use it with text like
So adding |
|
There is now a disabled state for list items: Markup: <button class="SelectMenu-item">Item 1</button>
<button class="SelectMenu-item" disabled>Item 2 (disabled)</button>
<a class="SelectMenu-item" href="#">Item 3</a>
<a class="SelectMenu-item" aria-disabled="true">Item 4 (disabled)</a>There was some back and forth about having a disabled state for list items. In the docs there is the following note: "If not obvious, try to communicate to the user why an item is disabled." |
auareyou
left a comment
There was a problem hiding this comment.
Is the close icon now included on all versions or is it optional?







This refreshes the SelectMenu 👀 Preview. Changes include:
32px(excluding the border) to match other components.API changes
.SelectMenu-list--borderlessmodifierdisabled+aria-disabled="true"list items/cc @primer/ds-core