diff --git a/sites/docs/src/lib/registry/default/ui/context-menu/context-menu-content.svelte b/sites/docs/src/lib/registry/default/ui/context-menu/context-menu-content.svelte index ceef94d89..5316652f0 100644 --- a/sites/docs/src/lib/registry/default/ui/context-menu/context-menu-content.svelte +++ b/sites/docs/src/lib/registry/default/ui/context-menu/context-menu-content.svelte @@ -4,16 +4,21 @@ let { ref = $bindable(null), + portalProps, class: className, ...restProps - }: ContextMenuPrimitive.ContentProps = $props(); + }: ContextMenuPrimitive.ContentProps & { + portalProps?: ContextMenuPrimitive.PortalProps; + } = $props(); - + + + diff --git a/sites/docs/src/lib/registry/default/ui/dropdown-menu/dropdown-menu-content.svelte b/sites/docs/src/lib/registry/default/ui/dropdown-menu/dropdown-menu-content.svelte index 255b1a6e5..fdbaa4710 100644 --- a/sites/docs/src/lib/registry/default/ui/dropdown-menu/dropdown-menu-content.svelte +++ b/sites/docs/src/lib/registry/default/ui/dropdown-menu/dropdown-menu-content.svelte @@ -5,17 +5,22 @@ let { ref = $bindable(null), sideOffset = 4, + portalProps, class: className, ...restProps - }: DropdownMenuPrimitive.ContentProps = $props(); + }: DropdownMenuPrimitive.ContentProps & { + portalProps?: DropdownMenuPrimitive.PortalProps; + } = $props(); - + + + diff --git a/sites/docs/src/lib/registry/new-york/ui/context-menu/context-menu-content.svelte b/sites/docs/src/lib/registry/new-york/ui/context-menu/context-menu-content.svelte index 8110f89ae..eb68a642f 100644 --- a/sites/docs/src/lib/registry/new-york/ui/context-menu/context-menu-content.svelte +++ b/sites/docs/src/lib/registry/new-york/ui/context-menu/context-menu-content.svelte @@ -5,15 +5,20 @@ let { ref = $bindable(null), class: className, + portalProps, ...restProps - }: ContextMenuPrimitive.ContentProps = $props(); + }: ContextMenuPrimitive.ContentProps & { + portalProps?: ContextMenuPrimitive.PortalProps; + } = $props(); - + + + diff --git a/sites/docs/src/lib/registry/new-york/ui/dropdown-menu/dropdown-menu-content.svelte b/sites/docs/src/lib/registry/new-york/ui/dropdown-menu/dropdown-menu-content.svelte index 61957fe1e..00966ff7a 100644 --- a/sites/docs/src/lib/registry/new-york/ui/dropdown-menu/dropdown-menu-content.svelte +++ b/sites/docs/src/lib/registry/new-york/ui/dropdown-menu/dropdown-menu-content.svelte @@ -6,17 +6,22 @@ ref = $bindable(null), class: className, sideOffset = 4, + portalProps, ...restProps - }: DropdownMenuPrimitive.ContentProps = $props(); + }: DropdownMenuPrimitive.ContentProps & { + portalProps?: DropdownMenuPrimitive.PortalProps; + } = $props(); - + + +