-
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
dropdown/select: when there is no placeholder or value, label will have default font-size #168
Conversation
5d1b6e9
to
1c7addc
Compare
@sourcery-ai review |
Reviewer's Guide by SourceryThis PR updates the Auro Select component to improve accessibility and styling by changing how placeholders are handled and removing unnecessary padding. Class diagram showing changes to AuroSelect componentclassDiagram
class AuroSelect {
-optionSelected: Object
-validity: undefined
-value: String
+updateDisplayedValue()
+reset()
+requestUpdate()
}
note for AuroSelect "Removed placeholder property
Moved to slot-based placeholder"
class AuroDropdown {
-_hasTriggerContent: Boolean
-triggerContentSlot: undefined
+hasTriggerContent: Boolean
+handleTriggerContentSlotChange()
}
note for AuroDropdown "Added trigger content tracking"
AuroSelect --> AuroDropdown: uses
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: 2 issues found
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟡 Complexity: 1 issue found
- 🟢 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.
0914096
to
9625bf5
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.
You need to add BREAKING CHANGE
commentary to this commit, as now users will have to manually add their own placeholder to continue to get the existing functionality
237f923
to
da4f06c
Compare
462eeb6
to
9768ebe
Compare
9768ebe
to
0ae0b38
Compare
BREAKING CHANGE: `placeholder` is now slot not attribute and there is no default node for it
0ae0b38
to
d105eb5
Compare
4e003dd
to
c665588
Compare
🎉 This PR is included in version 2.0.0-beta.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Alaska Airlines Pull Request
closes #36
Before 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
New Features:
<auro-select>
component using a named slot.