diff --git a/apps/storybook/stories/dropdown-menu.stories.tsx b/apps/storybook/stories/dropdown-menu.stories.tsx index 28f07819..9a4fa01a 100644 --- a/apps/storybook/stories/dropdown-menu.stories.tsx +++ b/apps/storybook/stories/dropdown-menu.stories.tsx @@ -8,8 +8,8 @@ const DropdownMenuAlignments: ReadonlyArray = [ 'end', ]; const DropdownMenuSizes: ReadonlyArray = [ + 'default', 'inherit', - 'regular', ]; export default { @@ -80,7 +80,7 @@ export function Basic({ Basic.args = { align: 'start', label: 'More actions', - size: 'regular', + size: 'default', }; export function Align() { @@ -103,7 +103,7 @@ export function Align() { return (
- + {menuItems.map(({ label, value }) => ( ))} - + {menuItems.map(({ label, value }) => ( -
+

{children}

diff --git a/packages/ui/src/DropdownMenu/DropdownMenu.tsx b/packages/ui/src/DropdownMenu/DropdownMenu.tsx index e3ccd4f2..6a57d9e9 100644 --- a/packages/ui/src/DropdownMenu/DropdownMenu.tsx +++ b/packages/ui/src/DropdownMenu/DropdownMenu.tsx @@ -6,7 +6,7 @@ import { ChevronDownIcon } from '@heroicons/react/24/solid'; import DropdownMenuItem from './DropdownMenuItem'; export type DropdownMenuAlignment = 'end' | 'start'; -export type DropdownMenuSize = 'inherit' | 'regular'; +export type DropdownMenuSize = 'default' | 'inherit'; type Props = Readonly<{ align?: DropdownMenuAlignment; @@ -26,15 +26,15 @@ export default function DropdownMenu({ align = 'start', children, label, - size = 'regular', + size = 'default', }: Props) { return (
{label}