-
Notifications
You must be signed in to change notification settings - Fork 0
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: add fluid
attribute to dropdown and make its default display inline-block
#117
Conversation
Reviewer's Guide by SourceryThis PR adds a new Class diagram for the updated dropdown componentclassDiagram
class AuroDropdown {
+Boolean fluid
+Boolean disabled
+Boolean disableEventShow
+Boolean error
+Boolean matchWidth
+Boolean inset
+Boolean rounded
}
note for AuroDropdown "The 'fluid' attribute is newly added to make the dropdown full width of its parent container."
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Hey @sun-mota - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟡 General issues: 3 issues found
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
bf86514
to
9cf02f1
Compare
9cf02f1
to
fc88ba5
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.
fc88ba5
to
9b510a0
Compare
focus issue will be addressed in #129 |
🎉 This PR is included in version 1.6.0-beta.6 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Alaska Airlines Pull Request
Background
Dropdown's borderless style should be inline-block
Issue to Solve
With the existing implementation, to follow borderless style, we had to add inset attribute with custom css style.
Solution
To easier setting and to follow existing pattern in button, now dropdown has
fluid
attribute which will turn dropdown to have full width bydisplay: block
and the default display isinline-block
To apply borderless style, use
inset
attributeBefore Submitting this pull request:
Development
sectionnote: all pull requests require at least one linked ticket
Ready For Review
, all ticket's linked underDevelopment
must have their status changed toReady For Review
as wellBy submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I have performed a self-review of my own update.
Summary by Sourcery
Add a 'fluid' attribute to the dropdown component to allow it to expand to full width, and change its default display style to 'inline-block' for better alignment with borderless style. Update documentation to reflect these changes.
Bug Fixes:
Enhancements:
Documentation: