[x] The build process is done without errors. All tests pass in the /lib directory.
[x] Self-reviewed the code before submitting.
[x] Meets accessibility standards.
[x] Added/updated documentation to /website as needed.
[x] Added/updated tests as needed.
Description
We have decided to include a new attribute in the items of the Contextual Menu called selectedByDefault. This attribute will allow our users to mark an item from the menu as selected in the first render of the component.
We have also fixed two issues with the component:
The gap between the section title and its items has been correctly set to 4px / 0.25rem.
The icon of an item now is properly sized when the text is truncated.
Checklist
/lib
directory./website
as needed.Description We have decided to include a new attribute in the items of the Contextual Menu called
selectedByDefault
. This attribute will allow our users to mark an item from the menu as selected in the first render of the component.We have also fixed two issues with the component:
4px
/0.25rem
.Closes #1962