diff --git a/.changeset/honest-pears-play.md b/.changeset/honest-pears-play.md new file mode 100644 index 00000000000..e604b76b99d --- /dev/null +++ b/.changeset/honest-pears-play.md @@ -0,0 +1,7 @@ +--- +"@clerk/clerk-react": patch +"@clerk/vue": patch +"@clerk/astro": patch +--- + +Fixed missing API keys props within `` diff --git a/packages/astro/src/astro-components/interactive/UserButton/UserButton.astro b/packages/astro/src/astro-components/interactive/UserButton/UserButton.astro index 5627e6d9dde..7e5667bd0ac 100644 --- a/packages/astro/src/astro-components/interactive/UserButton/UserButton.astro +++ b/packages/astro/src/astro-components/interactive/UserButton/UserButton.astro @@ -2,7 +2,7 @@ import type { UserButtonProps, UserProfileProps, Without } from '@clerk/types'; type Props = Without & { - userProfileProps?: Pick; + userProfileProps?: Pick; /** * If you have more than one UserButton on a page, providing a custom ID is required * to properly scope menu items to the correct button. diff --git a/packages/react/src/components/uiComponents.tsx b/packages/react/src/components/uiComponents.tsx index cb8ee7767d1..08f2268fa24 100644 --- a/packages/react/src/components/uiComponents.tsx +++ b/packages/react/src/components/uiComponents.tsx @@ -79,7 +79,7 @@ type UserButtonPropsWithoutCustomPages = Without< UserButtonProps, 'userProfileProps' | '__experimental_asStandalone' > & { - userProfileProps?: Pick; + userProfileProps?: Pick; /** * Adding `asProvider` will defer rendering until the `` component is mounted. * diff --git a/packages/shared/src/types/clerk.ts b/packages/shared/src/types/clerk.ts index 7f9259b0103..cd52b13f070 100644 --- a/packages/shared/src/types/clerk.ts +++ b/packages/shared/src/types/clerk.ts @@ -1716,7 +1716,7 @@ export type UserButtonProps = UserButtonProfileMode & { * Specify options for the underlying component. * e.g. */ - userProfileProps?: Pick; + userProfileProps?: Pick; /* * Provide custom menu actions and links to be rendered inside the UserButton. diff --git a/packages/vue/src/components/ui-components/UserButton/UserButton.vue b/packages/vue/src/components/ui-components/UserButton/UserButton.vue index a957fb38907..3df2b74ae5f 100644 --- a/packages/vue/src/components/ui-components/UserButton/UserButton.vue +++ b/packages/vue/src/components/ui-components/UserButton/UserButton.vue @@ -8,7 +8,7 @@ import { useUserProfileCustomPages } from '../../../utils/useCustomPages'; import { useUserButtonCustomMenuItems } from '../../../utils/useCustomMenuItems'; type Props = Omit & { - userProfileProps?: Pick; + userProfileProps?: Pick; }; const props = defineProps();