"use client"; import { CustomThemeProvider } from "../../../core/design-system/CustomThemeProvider.js"; import type { Theme } from "../../../core/design-system/index.js"; import { spacing } from "../../../core/design-system/index.js"; import { Container, ModalHeader, ScreenBottomContainer, } from "../components/basic.js"; import { Button } from "../components/buttons.js"; import { Modal } from "../components/Modal.js"; import { Text } from "../components/text.js"; type SignInRequiredModalProps = { theme: Theme | "light" | "dark"; onSignIn: () => void; onCancel: () => void; title?: string; description?: string; buttonLabel?: string; }; /** * @internal */ export function SignInRequiredModal(props: SignInRequiredModalProps) { const { theme, onSignIn, onCancel, title = "Sign in required", description = "Account required to complete payment, please sign in to continue.", buttonLabel = "Sign in", } = props; return ( { if (!open) { onCancel(); } }} size="compact" title={title} > {/* Description */} {description} {/* Action Buttons */} ); }