'use client';
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
import { ArrowUpRight } from 'lucide-react';
import { planFeatureLabel } from '../lib/plan.js';
export function PlanUpgradeCallout({ feature, requiredTier = 'pro', upgradeUrl, }) {
    return (_jsxs("div", { className: "border-border bg-muted/40 space-y-2 rounded-md border p-4", role: "status", "aria-live": "polite", children: [_jsxs("p", { className: "text-foreground text-sm font-medium", children: ["Upgrade to unlock ", planFeatureLabel(feature)] }), _jsxs("p", { className: "text-muted-foreground text-sm", children: ["This feature requires the ", requiredTier, " plan. Audits, issue tracking, and export remain available on your current plan."] }), upgradeUrl ? (_jsxs("a", { href: upgradeUrl, target: "_blank", rel: "noopener noreferrer", className: "text-primary inline-flex items-center gap-1 text-sm font-medium hover:underline", children: ["View plans", _jsx(ArrowUpRight, { className: "h-4 w-4", "aria-hidden": true })] })) : null] }));
}
//# sourceMappingURL=PlanUpgradeCallout.js.map