feat: enhance DependencyBanner to support resolved dependencies and update display logic

This commit is contained in:
Abhimanyu Saharan
2026-02-13 15:57:27 +05:30
parent efa3587e77
commit 92c079410e
2 changed files with 62 additions and 9 deletions

View File

@@ -20,6 +20,8 @@ interface DependencyBannerProps {
emptyMessage?: string;
}
type DependencyBannerVariant = "blocked" | "resolved";
const toneClassByVariant: Record<DependencyBannerVariant, string> = {
blocked: "border-rose-200 bg-rose-50 text-rose-700",
resolved: "border-blue-200 bg-blue-50 text-blue-700",