diff --git a/packages/chat-ui/src/blocks/block-card.tsx b/packages/chat-ui/src/blocks/block-card.tsx index a3f105a85..8eead9bb1 100644 --- a/packages/chat-ui/src/blocks/block-card.tsx +++ b/packages/chat-ui/src/blocks/block-card.tsx @@ -1,8 +1,7 @@ -// Presentational primitives shared by every block view: the card frame with -// its pulse-dot header and the risk badge. Kept free of chat state and chat -// strings so they can lift into @corbits/react-ui unchanged. +// Presentational primitive shared by every block view: the card frame with +// its pulse-dot header. Kept free of chat state and chat strings so it can +// lift into @corbits/react-ui unchanged. -import { Warning } from "@corbits/icons"; import type { ReactNode } from "react"; export function BlockCard({ @@ -22,23 +21,3 @@ export function BlockCard({ ); } - -export function RiskBadge({ - level, - label, - note, -}: { - readonly level: "low" | "medium" | "high"; - readonly label: string; - readonly note?: string | undefined; -}) { - return ( - - - ); -} diff --git a/packages/chat-ui/src/index.ts b/packages/chat-ui/src/index.ts index 1a51f5d1c..d103a7e04 100644 --- a/packages/chat-ui/src/index.ts +++ b/packages/chat-ui/src/index.ts @@ -88,8 +88,9 @@ export { CHAT_STRINGS } from "./strings"; export { displayWorkbenchTitle } from "./workbench-display-title"; export { BlockPartView } from "./blocks/registry"; -export { BlockCard, RiskBadge } from "./blocks/block-card"; +export { BlockCard } from "./blocks/block-card"; export { ConnectGithubBlockView } from "./blocks/connect-github-block"; + export type { ConnectGithubCardProps, ConnectGithubRepo,