/** * @fileoverview Branded social login button with provider icons. * @author Saasflare™ * Visual-only — renders styled buttons with provider branding. * No auth wiring. Wire onClick to your auth provider externally. * @module packages/ui/components/ui/social-button * @package ui * * @deprecated Use {@link SocialAuthButton} from `@saasflare/ui` instead — it * covers 16 providers via the brand-icon system and follows the token contract. * * @component * @example * import { SocialAuthButton } from '@saasflare/ui'; // preferred * signInWithGoogle()} /> */ import { type ComponentProps } from "react"; import { type SaasflareComponentProps } from "../../providers"; /** * Providers supported by the legacy {@link SocialButton}. * * @deprecated Use the 16-member `SocialProvider` union exported from * `@saasflare/ui` (backed by SocialAuthButton) instead. */ export type SocialButtonProvider = "google" | "apple" | "github" | "microsoft" | "twitter"; /** * Props for the SocialButton component. * * @deprecated Use {@link SocialAuthButton} (`SocialAuthButtonProps`) instead. */ export interface SocialButtonProps extends Omit, "children" | keyof SaasflareComponentProps>, SaasflareComponentProps { /** Social provider to render. */ provider: SocialButtonProvider; /** Override the default label text. */ label?: string; /** Show only the icon (no text). Default: `false` */ iconOnly?: boolean; } /** * Branded social login button. Visual only — no auth wiring. * * @deprecated Use {@link SocialAuthButton} from `@saasflare/ui` instead — it * covers 16 providers via the brand-icon system and follows the token contract. * * @component * @package ui */ export declare function SocialButton({ provider, label: labelOverride, iconOnly, className, surface, radius, animated, iconWeight, ...props }: SocialButtonProps): import("react/jsx-runtime").JSX.Element;