-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
feat(dropdown): add experimental dropdown component #1269
feat(dropdown): add experimental dropdown component #1269
Conversation
6413675
to
ca6cb13
Compare
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.
Code LGTM! 🎉
I did also notice the space above the dropdown on the "up" version
b1d6ef5
to
a86b64e
Compare
Whoops, missed the up variant 😅 Updated and pushed up a new staging site: http://carbon-dev-environment-exp-dropdown-wise-nyala.mybluemix.net/?nav=dropdown |
Yep looks good now ! 🤩👍 |
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.
Looks great! Noticed a couple style quirks (potentially):
In IE11, it looks like the background color bleeds down. This could be a remnant of the previous implementation, in which case might be better to file as a bug ticket that we could fix separately. Also noticed it in the disabled styles:
Let me know what you think! Also had a similar note before as to whether we should do un-nesting with these components, or if we want to just leave them as is 👍
} | ||
} | ||
|
||
.bx--list-box__menu-item .bx--checkbox-label { |
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.
Oh no! Looks like there are some lingering bx
classes from the previous implementation 😬
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.
Let's see if GH "change suggestion" feature works! 😉
.bx--list-box__menu-item .bx--checkbox-label { | |
.#${prefix}--list-box__menu-item .#${prefix}--checkbox-label { |
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.
LGTM 👍 from my perspective - Thanks @tw15egan!
} | ||
} | ||
|
||
.bx--list-box__menu-item .bx--checkbox-label { |
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.
Let's see if GH "change suggestion" feature works! 😉
.bx--list-box__menu-item .bx--checkbox-label { | |
.#${prefix}--list-box__menu-item .#${prefix}--checkbox-label { |
d9ca34f
to
1c29969
Compare
@joshblack unnested most selectors, kept things like I'll make a separate issue for the IE11 issue, as I'm having trouble getting the environment up and running on my machine in IE 😬 |
Sounds good @tw15egan! 🎉 |
🎉 This PR is included in version 9.35.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Closes #1215
Adds in experimental
Dropdown
,MultiSelect
,ComboBox
,ListBox
componentsChangelog
New
Testing / Reviewing
Ensure
Dropdown
works properly in all states, the original drop-down is unaffectedcc @laurenmrice
Here is the staging link