carbon-design-system / carbon

A design system built by IBM
https://www.carbondesignsystem.com
Apache License 2.0
7.86k stars 1.82k forks source link

[Audit] Dropdown #1955

Closed joshblack closed 5 years ago

joshblack commented 5 years ago

Dropdown

Screen Shot 2019-03-11 at 10.08.58 AM.png

Inline Dropdown

Expected:

image

Actual:

image

Expected:

image

Actual:

screen shot 2019-02-28 at 10 46 59 am

Filterable Dropdown (Combobox), MultiSelects, etc.

These all use list-box and will most likely share updates

laurenmrice commented 5 years ago

@joshblack For dropdown focus for error state: The error state should have a 2px red border (support-01, #DA1E28). Are you saying that it should also get a focus state applied on top of the error state? If so, the focus should be 2px blue border (focus, #0062FF)

emyarod commented 5 years ago

depends on https://github.com/IBM/carbon-components/pull/1987

I believe some of the points have been addressed already in https://github.com/IBM/carbon-components/pull/1793 https://github.com/IBM/carbon-components/pull/1896 https://github.com/IBM/carbon-components/pull/1898

  • Bounding box should have only 8px of padding on left hand side

so are we undoing the requested feedback from this audit

just to clarify: are the points for combobox and multiselect the entire audit feedback for those components? or should those be in a separate ticket?

asudoh commented 5 years ago

@joshblack @laurenmrice Any thoughts on what @emyarod mentioned above? Thanks!

laurenmrice commented 5 years ago
emyarod commented 5 years ago

@laurenmrice you can view the dropdown example for this ticket here https://deploy-preview-1994--the-carbon-components.netlify.com/ (the combobox and multiselect components can be viewed there too, no changes have been made to those yet)

laurenmrice commented 5 years ago

Changes: Things that still need to be changed that are mentioned in #1749:

emyarod commented 5 years ago

Update padding to 16px on left/right (icon should be 16px away from right), vertically centered text

so this point contradicts what we have written in the current ticket (#1955) unless I am misunderstanding "Bounding box should have only 8px of padding on left hand side". If what we have from #1749 stands then I don't need to make any changes here since #1749's changes are already merged in

but I can make the remaining changes, thanks for the updates! The netlify link only shows my progress up so far but I needed clarification on several points, and I'm also blocked by https://github.com/IBM/carbon-components/pull/1987 which is why the inline dropdowns still look off at the moment

laurenmrice commented 5 years ago

The 8px padding for bounding box only applies for the inline dropdown. I was referring to the normal dropdowns when i mentioned 16px

carbon-bot commented 5 years ago

:tada: This issue has been resolved in version 9.84.6 :tada:

The release is available on:

Your semantic-release bot :package::rocket: