-
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: replace hard coded bx prefix with variable #1381
fix: replace hard coded bx prefix with variable #1381
Conversation
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.
Thanks @alisonjoseph for spotting these!!
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.
Small comments that can be addressed quickly here or another PR, but other than that looks great! Thanks for catching these 👍
@@ -11,7 +11,7 @@ | |||
@import '../list-box/list-box'; | |||
|
|||
@include exports('combo-box') { | |||
.bx--combo-box > .bx--list-box__field { | |||
.#{$prefix}--combo-box > .#{$prefix}--list-box__field { |
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.
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 like there is box shadow and also the border-bottom on the input inside the list box? 🤔
@@ -13,11 +13,11 @@ | |||
@import '../list-box/list-box'; | |||
|
|||
@include exports('multi-select') { | |||
.bx--multi-select.bx--combo-box > .bx--list-box__field { | |||
.#{$prefix}--multi-select.#{$prefix}--combo-box > .#{$prefix}--list-box__field { |
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.
I'm also noticing that box-shadow here, but it looks like we never added the gray-50
border bottom. Perhaps this is a bigger change than I thought
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.
Might be better in a separate issue around list box styles, there is a lot going on here 🙃
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.
Yeah, I'll work on that this morning and fix that up. Disregard!
@@ -145,7 +145,7 @@ | |||
} | |||
|
|||
.#{$prefix}--overflow-menu-options__option--danger { | |||
.bx--overflow-menu-options__btn { | |||
.#{$prefix}--overflow-menu-options__btn { |
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.
I'm not sure if this has always been the case, but the overflow-menu doesn't show up in experimental mode
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.
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.
Yeah I can work on that one next week and get it figured out 👍
🎉 This PR is included in version 9.43.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
…arbon-design-system#1381) * fix(Components): add initial state and remove empty state validation * fix(Components): revert Tooltip.js changes * fix(Components): set initial selected in TileGroup component
Noticed some hard coded
.bx--
classnames. Did a find on the entire project and replaced them with#{$prefix}--