Continuing the work done in #2027 in service of #824. This PR covers the menu component.
Example of why this is needed: after documenting the nimble-menu-itemchange event I searched for usages in SLE and found dozens of instances where apps were using the keyboard inaccessible click event instead. I'm fixing them in this PR.
๐ฉโ๐ป Implementation
Refactored menu MDX and story files to follow patterns from previous PRs. I made some judgement calls about where to document child components vs examples; open to feedback on how it turned out!
Added more shared documentation strings and used them in several existing stories.
๐งช Testing
Manual storybook inspection
โ Checklist
[ ] I have updated the project documentation to reflect my changes or determined no changes are needed.
Pull Request
๐คจ Rationale
Continuing the work done in #2027 in service of #824. This PR covers the menu component.
Example of why this is needed: after documenting the
nimble-menu-item
change
event I searched for usages in SLE and found dozens of instances where apps were using the keyboard inaccessibleclick
event instead. I'm fixing them in this PR.๐ฉโ๐ป Implementation
๐งช Testing
Manual storybook inspection
โ Checklist