"use client"; import { cn } from "@/lib/utils"; /** The unified user-thinking block (owner round, 2026-10-05): ONE visual * language for every surface where the learner's own thinking renders — * practice thinking traces (nudge / commit), the reading channel lifted * above the answered card. The recipe is the quiz cards' quote block * verbatim (rail + uppercase label + prose), carried by a faint shell * so it still reads user-side at a glance — right-aligned, message * width, never collapsible (they arrive open; collapsing bought * nothing and cost the chevron-on-the-right weirdness). * * Rails reuse the existing vocabulary: primary for the committed * register (the quiz answer thinking, practice commits), muted for the * working register (nudges, reading thoughts). */ export function ThinkingBlock({ label, text, rail = "muted", testId, dataCommit, }: { label: string; text: string; rail?: "primary" | "muted"; testId?: string; /** The practice marker's register flag (commit vs nudge). */ dataCommit?: boolean; }) { return (
{label} {text}
); }