From 52639e8656d58591ae6281a36a9480bc1fa19bfb Mon Sep 17 00:00:00 2001 From: Cory Tyburski Date: Thu, 14 Nov 2024 20:06:05 -0500 Subject: [PATCH] Rename to portalProps --- .../default/ui/alert-dialog/alert-dialog-content.svelte | 6 +++--- .../lib/registry/default/ui/command/command-dialog.svelte | 4 ++-- .../lib/registry/default/ui/dialog/dialog-content.svelte | 6 +++--- .../lib/registry/default/ui/drawer/drawer-content.svelte | 6 +++--- .../lib/registry/default/ui/popover/popover-content.svelte | 6 +++--- .../lib/registry/default/ui/select/select-content.svelte | 6 +++--- .../src/lib/registry/default/ui/sheet/sheet-content.svelte | 6 +++--- .../new-york/ui/alert-dialog/alert-dialog-content.svelte | 6 +++--- .../lib/registry/new-york/ui/command/command-dialog.svelte | 4 ++-- .../lib/registry/new-york/ui/dialog/dialog-content.svelte | 6 +++--- .../lib/registry/new-york/ui/drawer/drawer-content.svelte | 6 +++--- .../lib/registry/new-york/ui/popover/popover-content.svelte | 6 +++--- .../lib/registry/new-york/ui/select/select-content.svelte | 6 +++--- .../src/lib/registry/new-york/ui/sheet/sheet-content.svelte | 6 +++--- 14 files changed, 40 insertions(+), 40 deletions(-) diff --git a/sites/docs/src/lib/registry/default/ui/alert-dialog/alert-dialog-content.svelte b/sites/docs/src/lib/registry/default/ui/alert-dialog/alert-dialog-content.svelte index 5ee4de701..858b8bc1b 100644 --- a/sites/docs/src/lib/registry/default/ui/alert-dialog/alert-dialog-content.svelte +++ b/sites/docs/src/lib/registry/default/ui/alert-dialog/alert-dialog-content.svelte @@ -6,14 +6,14 @@ let { ref = $bindable(null), class: className, - portal, + portalProps, ...restProps }: WithoutChild & { - portal?: AlertDialogPrimitive.PortalProps; + portalProps?: AlertDialogPrimitive.PortalProps; } = $props(); - + & WithoutChildrenOrChild & { - portal?: DialogPrimitive.PortalProps; + portalProps?: DialogPrimitive.PortalProps; children: Snippet; } = $props(); diff --git a/sites/docs/src/lib/registry/default/ui/dialog/dialog-content.svelte b/sites/docs/src/lib/registry/default/ui/dialog/dialog-content.svelte index 0af80a966..7e9868c4d 100644 --- a/sites/docs/src/lib/registry/default/ui/dialog/dialog-content.svelte +++ b/sites/docs/src/lib/registry/default/ui/dialog/dialog-content.svelte @@ -8,16 +8,16 @@ let { ref = $bindable(null), class: className, - portal, + portalProps, children, ...restProps }: WithoutChildrenOrChild & { - portal?: DialogPrimitive.PortalProps; + portalProps?: DialogPrimitive.PortalProps; children: Snippet; } = $props(); - + - + - + & { - portal?: SelectPrimitive.PortalProps; + portalProps?: SelectPrimitive.PortalProps; } = $props(); - + & { - portal?: SheetPrimitive.PortalProps; + portalProps?: SheetPrimitive.PortalProps; side?: Side; children: Snippet; } = $props(); - + {@render children?.()} diff --git a/sites/docs/src/lib/registry/new-york/ui/alert-dialog/alert-dialog-content.svelte b/sites/docs/src/lib/registry/new-york/ui/alert-dialog/alert-dialog-content.svelte index 5ee4de701..858b8bc1b 100644 --- a/sites/docs/src/lib/registry/new-york/ui/alert-dialog/alert-dialog-content.svelte +++ b/sites/docs/src/lib/registry/new-york/ui/alert-dialog/alert-dialog-content.svelte @@ -6,14 +6,14 @@ let { ref = $bindable(null), class: className, - portal, + portalProps, ...restProps }: WithoutChild & { - portal?: AlertDialogPrimitive.PortalProps; + portalProps?: AlertDialogPrimitive.PortalProps; } = $props(); - + & WithoutChildrenOrChild & { - portal?: DialogPrimitive.PortalProps; + portalProps?: DialogPrimitive.PortalProps; children: Snippet; } = $props(); diff --git a/sites/docs/src/lib/registry/new-york/ui/dialog/dialog-content.svelte b/sites/docs/src/lib/registry/new-york/ui/dialog/dialog-content.svelte index c4e065968..7d9c113f8 100644 --- a/sites/docs/src/lib/registry/new-york/ui/dialog/dialog-content.svelte +++ b/sites/docs/src/lib/registry/new-york/ui/dialog/dialog-content.svelte @@ -8,16 +8,16 @@ let { ref = $bindable(null), class: className, - portal, + portalProps, children, ...restProps }: WithoutChildrenOrChild & { - portal?: DialogPrimitive.PortalProps; + portalProps?: DialogPrimitive.PortalProps; children: Snippet; } = $props(); - + - + - + & { - portal?: SelectPrimitive.PortalProps; + portalProps?: SelectPrimitive.PortalProps; } = $props(); - + & { - portal?: SheetPrimitive.PortalProps; + portalProps?: SheetPrimitive.PortalProps; side?: Side; children: Snippet; } = $props(); - + {@render children?.()}