-
Notifications
You must be signed in to change notification settings - Fork 211
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(sp-button-group): sp-button-group react to size updates #5037
Conversation
|
Tachometer resultsCurrently, no packages are changed by this PR... |
Pull Request Test Coverage Report for Build 12871512838Details
💛 - Coveralls |
Branch previewReview the following VRT differencesWhen a visual regression test fails (or has previously failed while working on this branch), its results can be found in the following URLs:
If the changes are expected, update the |
Lighthouse scores
What is this?Lighthouse scores comparing the documentation site built from the PR ("Branch") to that of the production documentation site ("Latest") and the build currently on Transfer Size
Request Count
|
@@ -36,9 +40,24 @@ export class ButtonGroup extends SizedMixin(SpectrumElement, { | |||
@property({ type: Boolean, reflect: true }) | |||
public vertical = false; | |||
|
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.
Not in the scope of this PR, but interestingly, I just noticed that when we extend the SizedMixin
, the size
property doesn’t appear in our documentation 😶🌫️.
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 did too, I had to look in the code to see if this component actually supports a size
attribute
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.
As it stands, strictly speaking, this is not part of our official API because we don’t explicitly document it, even though it seems it was always intended to be included 😅 .
I’ll sync with our team briefly to decide how we want to address this - it shouldn’t impact this PR, but I’ll report back if it does.
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.
🚢
Description
Makes
sp-button-group
react to changes insize
attribute.Related issue(s)
Motivation and context
#5030
How has this been tested?
Test case 1
Did it pass in Desktop?
Did it pass in Mobile?
Did it pass in iPad?
Screenshots (if appropriate)
Types of changes
Checklist
Best practices
This repository uses conventional commit syntax for each commit message; note that the GitHub UI does not use this by default so be cautious when accepting suggested changes. Avoid the "Update branch" button on the pull request and opt instead for rebasing your branch against
main
.