Add a Menu Button component.

Review Request #13644 — Created March 18, 2024 and submitted — Latest diff uploaded

Information

Ink
master

Reviewers

The Menu Button is a button that displays a drop-down menu on hover,
click, or keyboard interaction. This can be used to select an action or
change settings for a piece of UI.

Menu Buttons can have a distinct Action Button, which will invoke an
action but will not show the drop-down menu. In this situation, the menu
is generally used for configuration or alternate (but related) actions.

Tested the component thoroughly in Storybook.

Unit tests pass.

Changes between revision 1 and 2

orig
1
2

Commits

Summary ID Author
Add a Menu Button component.
The Menu Button is a button that displays a drop-down menu on hover, click, or keyboard interaction. This can be used to select an action or change settings for a piece of UI. Menu Buttons can have a distinct Action Button, which will invoke an action but will not show the drop-down menu. In this situation, the menu is generally used for configuration or alternate (but related) actions.
c9b259e868c62dc0650a944e39ae3e3a0225b1d5 Christian Hammond
Add a Menu Button component.
The Menu Button is a button that displays a drop-down menu on hover, click, or keyboard interaction. This can be used to select an action or change settings for a piece of UI. Menu Buttons can have a distinct Action Button, which will invoke an action but will not show the drop-down menu. In this situation, the menu is generally used for configuration or alternate (but related) actions.
744744e9eea07d747dd3ceeaf473dc66eb606ca4 Christian Hammond
src/ink/js/components/views/menuButtonView.ts
src/ink/js/components/views/tests/menuButtonViewTests.ts
src/ink/less/components/menu-button.less
Loading...