Replaced now-defunct CSF 1 & 2 types ComponentStory and ComponentMeta with StoryObj and Meta respectively
Updated all stories to the new single-const format
Removed titles from ungrouped components whose name is the same as their filename
Created Story type and added it to all stories for increased type safety
Unique to this PR
Menu
Added Title, Gutter, and usePortal stories
Increased height to show whole menu in non-portal stories
MenuItem
Unlike in List (#383) and DescriptionList (#377), I decided to keep MenuItem stories separate, because Menu had enough of its own stories that didn't rely on the different stylings of MenuItem that putting them all together felt a little cluttered and confusing.
What Was Changed
Common to all CSF3 updates
ComponentStory
andComponentMeta
withStoryObj
andMeta
respectivelyUnique to this PR
Menu
MenuItem
List
(#383) andDescriptionList
(#377), I decided to keepMenuItem
stories separate, becauseMenu
had enough of its own stories that didn't rely on the different stylings ofMenuItem
that putting them all together felt a little cluttered and confusing.Modal
Screenshots
Menu
Height IncreaseNew
Menu
StoriesCustom Header in
Modal