-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feat(menu): convert to core tokens #3254
Conversation
Tachometer resultsChromeaction-bar permalink
action-menu permalink
card permalink
illustrated-message permalink
menu permalink
overlay permalink
picker permalink
popover permalink
slider permalink
split-button permalink
tooltip permalink
Firefoxaction-bar permalink
action-menu permalink
card permalink
illustrated-message permalink
menu permalink
overlay permalink
picker permalink
popover permalink
slider permalink
split-button permalink
tooltip permalink
|
4bdfde8
to
c2c278d
Compare
c2c278d
to
3aef48b
Compare
81a0a8b
to
fedead6
Compare
FYI: this did a weird thing: https://9905080f40f3bb038d2df931c70e6c4c--spectrum-web-components.netlify.app/review/#ActionMenuStories/selects.png |
38d160f
to
b23e97d
Compare
3d15451
to
11a3fe0
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.
"Submenu chevrons" are getting margin-inline-end
from what I think is a rule meant for "collapsable chevrons" in the Spectrum CSS source. Can you confirm with their team that this is being applied appropriately.
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.
Looking real nice to me! Looking good to you?
Final practical steps: 🤞🏼
- get a stable release from the CSS team
- add "Sizes" stories to the Menu package
- pass
this.size
down fromPicker.ts
into the<sp-menu>
child in its shadow DOM - add a set of "Sizes Open" stories to Picker so that the above change is included in VRTs
- (possible overkill, but nice to have for sure) add a set of "Sizes Open" stories to Action Menu and Split Button
- update the VRT cache with the updated and new stories
Very exciting!!
1999850
to
1a352cd
Compare
1a352cd
to
8b54db6
Compare
339dc48
to
b804aa5
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.
LGTM!!! 🚀
Description
Convert to core tokens. Things that still need to be done/looked at:
this.size
down fromPicker.ts
into the<sp-menu>
child in its shadow DOMRelated issue(s)
Motivation and context
upgrading to core tkoens :)
How has this been tested?
Test case 1
Test case 2
Test case 3
Test Case 4
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
.