Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

fix(DropdownV2): match experimental spec #2093

Conversation

emyarod
Copy link
Member

@emyarod emyarod commented Mar 25, 2019

Closes IBM/carbon-components-react#2022

depends on
carbon-design-system/carbon#2203
carbon-design-system/carbon#2206
carbon-design-system/carbon#2212

This PR incorporates feedback from the March 2019 dropdown component audit

Changelog

Changed

  • Integrate v10 listbox styles

Removed

  • type prop for inline listbox components (requires refactoring of multiselect and combobox as well)

@netlify
Copy link

netlify bot commented Mar 25, 2019

Deploy preview for carbon-components-react ready!

Built with commit f5e719d

https://deploy-preview-2093--carbon-components-react.netlify.com

@emyarod
Copy link
Member Author

emyarod commented Mar 26, 2019

carbon-design-system/carbon#2203 only addressed the overflow issue for the trigger button label 🤦‍♂️

  • need overflow styles on menu options

  • inline list box menu options also need reduced side margins to match dropdown spec

image

Copy link
Member

@laurenmrice laurenmrice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Just one change: The top rule line in the drawer is flush next to the focus state. It

Screen Shot 2019-03-26 at 3 25 10 PM

needs to not be there when the focus border is active.

@emyarod
Copy link
Member Author

emyarod commented Mar 27, 2019

tests are failing because of improperly formatted issue templates https://github.com/IBM/carbon-components-react/issues/2098

blocked until #2099 is merged in

@emyarod emyarod force-pushed the 2022-match-dropdown-to-experimental-spec branch from 4e44770 to 50b733c Compare March 28, 2019 18:34
@emyarod emyarod requested a review from joshblack March 28, 2019 18:37
);
return title || helper ? (
<>
<div className={wrapperClasses}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given the change here - Wanted to see it's tested in v9. Thanks!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have tested it in v9 but I will rope it off as we don't have a wrapper in v9

@emyarod emyarod requested a review from asudoh March 28, 2019 18:43
@emyarod emyarod merged commit a7c293c into carbon-design-system:master Mar 28, 2019
@emyarod emyarod deleted the 2022-match-dropdown-to-experimental-spec branch March 28, 2019 19:27
@carbon-bot
Copy link

🎉 This PR is included in version 6.113.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants