-
Notifications
You must be signed in to change notification settings - Fork 208
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(action-menu): added static attribute support #3573
Conversation
Tachometer resultsChromeaction-bar permalink
action-menu permalink
menu permalink
overlay permalink
picker permalink
popover permalink
split-button permalink
tooltip permalink
Firefoxaction-bar permalink
action-menu permalink
menu permalink
overlay permalink
picker permalink
popover permalink
split-button permalink
tooltip permalink
|
…dobe/spectrum-web-components into blunteshwar/static-support-action-menu
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!!
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.
Sorry, one last thing!
Catch this up to main
and decorate more selectively and let's land this baby. 🛬
|
||
import '@spectrum-web-components/icons-workflow/icons/sp-icon-settings.js'; | ||
import type { MenuItem } from '@spectrum-web-components/menu/src/MenuItem.js'; | ||
|
||
export default { | ||
component: 'sp-action-menu', | ||
title: 'Action menu', | ||
decorators: [makeOverBackground()], |
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.
decorators: [makeOverBackground()], |
Changes updated. Let me know if you see any more issues 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.
LGTM. Thanks for working through the Storybook delivery, makes understanding this addition a whole lot easier!
* fix(action-menu): added static attribute support * fix(action-menu): replaced 'undefined' with 'none' * fix(action-menu): updated the tests * fix(action-menu): added golden hash key * fix(action-menu): added labels for control * fix: storybook none value maps to undefined * fix: storybook decorators reference for individual stories * chore: updated golden image cache --------- Co-authored-by: Rajdeep Chandra <rajdeepc@adobe.com>
Description
Added
static
attribute support for action-menuRelated issue(s)
Motivation and context
How has this been tested?
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
.