import MenuBarItem from "../app/components/MenuBarItem"; export default { title: "Components/MenuBarItem", component: MenuBarItem, parameters: { layout: "centered", docs: { description: { component: "A navigation menu item component with multiple variants, sizes, and states. Can render as a link or disabled span with full accessibility support. Includes focus states with keyboard navigation - use Tab key to test focus indicators.", }, }, }, argTypes: { variant: { control: { type: "select" }, options: ["default", "home"], description: "The visual style variant of the menu item", }, size: { control: { type: "select" }, options: [ "xsmall", "xsmallUseCases", "homeMd", "homeUseCases", "large", "largeUseCases", "homeXlarge", "xlarge", ], description: "The size of the menu item", }, disabled: { control: { type: "boolean" }, description: "Whether the menu item is disabled", }, href: { control: { type: "text" }, description: "The link destination", }, onClick: { action: "clicked" }, }, tags: ["autodocs"], }; export const Default = { args: { children: "Menu Item", size: "large", }, }; export const Variants = { args: { children: "Menu Item", size: "large", }, render: (args) => (