-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fix(ListBoxMenuItem): ensure border-subtle renders correct value #13879
fix(ListBoxMenuItem): ensure border-subtle renders correct value #13879
Conversation
8b94e40
to
d4d16fb
Compare
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
50b5aab
to
e8b7f80
Compare
✅ Deploy Preview for carbon-components-react ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for carbon-components-react ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
b7d5c35
to
d7814f0
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.
Yes! That is rendering correctly 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.
LGTM!
Looks like there is still an issue with |
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 good once the modal override is added 👍
d7814f0
to
6ed82a5
Compare
Hey there! v11.32.0 was just released that references this issue/PR. |
@aagonzales mention on Slack that the Dropdown / Combobox / Multiselect
$border-subtle
values were off. It's because the menus themselves render one level higher on thelayer
scale (01) , butborder-subtle
was still calculating to its base level (00). This change scopes allListBoxMenuItem
styles to their appropriate value, based on the presence ofcds--layer-two
orcds--layer-three
, and defaults toborder-subtle-01
if not. I searched for all$border-subtle
instances and added a block for each of the two layers, and cleaned up some styles issues that were present with the change in color of these new borders.Changelog
Changed
$border-subtle
to reference the layer directly i.e$border-subtle-01
Testing / Reviewing
Check out the
Dropdown
,Combobox
,Multiselect
and otherwithLayer
stories that utilizeborder-subtle
and ensure values remain correct. THis mainly affects the menu items that appear when the menu is open, and when hovering them. This should only affect components that useListBoxMenuItem
.