feat(app): make story for MenuItem, Slideout, and OverflowBtn #9455
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes #9449
Overview
This PR makes a story for the shared components:
MenuItem
,Slideout
, andOverflowBtn
andMenuList
, so you can see the different states they have and what the component looks like. - also renamesOverflowMenuBtn
toMenuItem
andOverflowMenu
toMenuList
They are all under App -> Atoms
Changelog
Slideout:
MenuItem: (need to interact with it to see states)
![Screen Shot 2022-02-14 at 12 54 50 PM](https://user-images.githubusercontent.com/66035149/153919525-000a3924-4172-4909-ac47-7fc981fc570a.png)
OverflowBtn: (need to interact with it to see states)
![Screen Shot 2022-02-14 at 12 55 15 PM](https://user-images.githubusercontent.com/66035149/153919604-30974907-da7c-4aab-b4ac-bde692599b02.png)
MenuList: (need to interact with it to see states)
![Screen Shot 2022-02-16 at 1 12 58 PM](https://user-images.githubusercontent.com/66035149/154329119-d9d8378a-4e63-49b3-8515-d7a2c1466a26.png)
Review requests
make -C components dev
OverflowBtn
- you should see the different states when you interact with it (hover, focus, etc)MenuItem
- you should also see different states when you interact with itSlideout
- you have to toggle theisExpanded
to true, then you will see the Slideout with example title, and example body (example body even includes a button)MenuList
Risk assessment
low, behind ff