diff --git a/.changeset/few-news-impress.md b/.changeset/few-news-impress.md new file mode 100644 index 00000000000..92c9bc503ac --- /dev/null +++ b/.changeset/few-news-impress.md @@ -0,0 +1,7 @@ +--- +'@clerk/astro': patch +'@clerk/clerk-react': patch +'@clerk/vue': patch +--- + +Add the ability to specify an appearance for modal component usages. diff --git a/.changeset/giant-fans-pretend.md b/.changeset/giant-fans-pretend.md new file mode 100644 index 00000000000..a909decc24a --- /dev/null +++ b/.changeset/giant-fans-pretend.md @@ -0,0 +1,5 @@ +--- +'@clerk/types': minor +--- + +Extract common button component props. diff --git a/packages/astro/src/astro-components/unstyled/SignInButton.astro b/packages/astro/src/astro-components/unstyled/SignInButton.astro index 12b355b3eb0..ed95f51168b 100644 --- a/packages/astro/src/astro-components/unstyled/SignInButton.astro +++ b/packages/astro/src/astro-components/unstyled/SignInButton.astro @@ -1,10 +1,10 @@ --- import type { HTMLTag, Polymorphic } from 'astro/types' -import type { SignInProps } from '@clerk/types' +import type { SignInButtonProps } from '@clerk/types' import type { ButtonProps } from '../../types'; import { addUnstyledAttributeToFirstTag, logAsPropUsageDeprecation } from './utils' -type Props = Polymorphic> +type Props = Polymorphic> & SignInButtonProps; import { generateSafeId } from '@clerk/astro/internal'; @@ -22,7 +22,7 @@ const { signUpFallbackRedirectUrl, signUpForceRedirectUrl, mode, - ...elementProps + ...props } = Astro.props const signInOptions = { @@ -44,20 +44,20 @@ if (asChild) { asChild ? ( ) : ( - + Sign in ) } -