import { CheckIcon, ChevronIcon, LoaderIcon, PlusIcon, WarningIcon } from "@chopin/icons";
import { StaticPlanEditor } from "@chopin/editor/static";
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@chopin/visuals";
import { DecisionViewControl } from "../decision-view-control";
import { AuditPlate, StateLabel } from "./frame";
import type { ReactNode } from "react";
const TABS = [
'',
'',
"",
"Run the installer, then open the app from Applications.",
"",
"",
'',
"",
"Open the document in any current browser.",
"",
"",
'',
"",
"Long labels wrap inside the strip.",
"",
"",
"",
].join("\n") + "\n";
const STATES = ["Default", "Hover", "Active", "Focus", "Disabled"] as const;
function StateSample({ children, state }: { children: ReactNode; state: string }) {
return (
);
}
function ButtonRow(
{ className, label }: { className: string; label: string },
) {
return (
{STATES.map(state => (
))}
);
}
export function Controls() {
return (
<>
Primary
Secondary
Outline
Outline on a danger surface
Ghost
Destructive
{STATES.map(state => (
))}
Architecture notes
Design system audit
Archived proposal
Document view switcher · Document selected
{}} unanswered={3} view="plan" />
Document view switcher · Decisions selected
{}} unanswered={3} view="decisions" />
Document view switcher · no unanswered decisions
{}} unanswered={0} view="plan" />
Authored tabs · first tab selected, long labels wrap
Closed
Open · focus · disabled
Active documents
Archived documents
Loading
Error
Could not load documents.
>
);
}