{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "block-call",
  "type": "registry:block",
  "title": "Call",
  "description": "A video call inside the app on a raised page: the people as tiles on a dark stage with the speaker outlined, a control bar to mute, share and record, and notes, chat and people in a panel beside it.",
  "dependencies": [
    "@remixicon/react@^4.9.0"
  ],
  "registryDependencies": [
    "https://wideset.co/r/app-shell.json",
    "https://wideset.co/r/avatar.json",
    "https://wideset.co/r/block-styles.json",
    "https://wideset.co/r/breadcrumbs.json",
    "https://wideset.co/r/button.json",
    "https://wideset.co/r/divider.json",
    "https://wideset.co/r/dropdown-menu.json",
    "https://wideset.co/r/icon-button.json",
    "https://wideset.co/r/link-button.json",
    "https://wideset.co/r/list-item.json",
    "https://wideset.co/r/popup.json",
    "https://wideset.co/r/sidebar.json",
    "https://wideset.co/r/tabs.json",
    "https://wideset.co/r/text-input.json",
    "https://wideset.co/r/tooltip.json",
    "https://wideset.co/r/utils.json"
  ],
  "files": [
    {
      "path": "src/blocks/call/brand-mark.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/call/brand-mark.tsx",
      "content": "'use client';\n\nimport { cn } from '@/lib/wideset/utils';\n\nconst TILE =\n  'M0 16C0 8.45753 0 4.68629 2.34315 2.34315C4.68629 0 8.45753 0 16 0C23.5425 0 27.3137 0 29.6569 2.34315C32 4.68629 32 8.45753 32 16C32 23.5425 32 27.3137 29.6569 29.6569C27.3137 32 23.5425 32 16 32C8.45753 32 4.68629 32 2.34315 29.6569C0 27.3137 0 23.5425 0 16Z';\n\n/**\n * Orbit's mark: a planet and its ring on the inverse tile, so it inverts in dark mode. It takes\n * the size of its place (32px in a sidebar, 36px in a larger switcher). Decorative beside the\n * product's name; give it a `label` when it stands alone.\n */\nexport function BrandMark({ className, label }: { className?: string; label?: string }) {\n  return (\n    <svg\n      viewBox=\"0 0 32 32\"\n      role={label ? 'img' : undefined}\n      aria-label={label}\n      aria-hidden={label ? undefined : true}\n      className={cn('size-ws-14 shrink-0', className)}\n    >\n      <path d={TILE} className=\"fill-(--ws-static-fill-inverse-background)\" />\n      <ellipse\n        cx=\"16\"\n        cy=\"16\"\n        rx=\"10.5\"\n        ry=\"4\"\n        transform=\"rotate(-28 16 16)\"\n        strokeWidth=\"1.75\"\n        className=\"fill-none stroke-(--ws-static-text-inverse-strong)\"\n      />\n      <circle cx=\"16\" cy=\"16\" r=\"4.75\" className=\"fill-(--ws-static-text-inverse-strong)\" />\n    </svg>\n  );\n}\n"
    },
    {
      "path": "src/blocks/call/call-chat.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/call/call-chat.tsx",
      "content": "'use client';\n\n// TODO(custom): messages written during a call (avatar, name, time, text); Wideset has no message component.\nimport { RiSendPlaneLine } from '@remixicon/react';\nimport { TextInput } from '@/components/ui/wideset/text-input/TextInput';\nimport { type FormEvent, useEffect, useRef, useState } from 'react';\n\nimport type { ChatMessage, Participant } from './data';\nimport { formatTime } from './format';\nimport { PersonAvatar } from './person-avatar';\n\ntype CallChatProps = {\n  messages: ChatMessage[];\n  people: Participant[];\n  onSend: (text: string) => void;\n};\n\n/**\n * The call's chat, which everyone on the call reads: the messages as rows, oldest first, resting\n * on the field at the foot of the panel. It follows the newest message. Enter sends; nothing is\n * sent while the field is empty.\n */\nexport function CallChat({ messages, people, onSend }: CallChatProps) {\n  const [draft, setDraft] = useState('');\n  const scroller = useRef<HTMLDivElement>(null);\n\n  useEffect(() => {\n    if (scroller.current) scroller.current.scrollTop = scroller.current.scrollHeight;\n  }, [messages.length]);\n\n  const send = (event: FormEvent) => {\n    event.preventDefault();\n    if (!draft.trim()) return;\n    onSend(draft.trim());\n    setDraft('');\n  };\n\n  return (\n    <div className=\"flex h-full min-h-0 flex-col\">\n      <div ref={scroller} className=\"ws-scrollbar min-h-0 flex-1 overflow-y-auto\">\n        <ol\n          aria-label=\"Messages\"\n          className=\"gap-ws-9 px-ws-9 py-ws-9 flex min-h-full flex-col justify-end\"\n        >\n          {messages.map((message) => {\n            const author = people.find((person) => person.id === message.authorId)!;\n            return (\n              <li key={message.id} className=\"gap-ws-5 flex\">\n                <PersonAvatar\n                  size=\"sm\"\n                  name={author.name}\n                  initials={author.initials}\n                  color={author.color}\n                  aria-hidden\n                />\n                <div className=\"flex min-w-0 flex-1 flex-col\">\n                  <p className=\"gap-ws-5 flex items-baseline\">\n                    <span className=\"typography-label-strong-sm text-ws-static-strong truncate\">\n                      {author.name}\n                    </span>\n                    <time\n                      dateTime={message.at}\n                      className=\"typography-caption-md text-ws-static-subtle shrink-0 tabular-nums\"\n                    >\n                      {formatTime(message.at)}\n                    </time>\n                  </p>\n                  <p className=\"typography-body-md text-ws-static-base\">{message.text}</p>\n                </div>\n              </li>\n            );\n          })}\n        </ol>\n      </div>\n      <form onSubmit={send} className=\"px-ws-9 pb-ws-9 shrink-0\">\n        <TextInput size=\"sm\" value={draft} onChange={(event) => setDraft(event.target.value)}>\n          <TextInput.Input placeholder=\"Message everyone\" aria-label=\"Message everyone\" />\n          <TextInput.Suffix inner>\n            <TextInput.IconButton\n              type=\"submit\"\n              icon={RiSendPlaneLine}\n              aria-label=\"Send message\"\n              disabled={!draft.trim()}\n            />\n          </TextInput.Suffix>\n        </TextInput>\n      </form>\n    </div>\n  );\n}\n"
    },
    {
      "path": "src/blocks/call/call-header.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/call/call-header.tsx",
      "content": "'use client';\n\n// TODO(custom): page header (title, a line of facts, the call's state on the right); no PageHeader in Wideset.\nimport { call } from './data';\nimport { formatClock } from './format';\nimport { TextLink } from './text-link';\n\ntype CallHeaderProps = {\n  /** Seconds since the call started, or nothing before it connects. */\n  elapsed?: number;\n  recording: boolean;\n  /** How many people are on the call. */\n  count: number;\n};\n\n/** The dot between two facts on the header's line. */\nfunction Dot() {\n  return (\n    <span aria-hidden=\"true\" className=\"text-ws-static-subtle\">\n      {'·'}\n    </span>\n  );\n}\n\n/**\n * What the call is and where it belongs: its name, the deal it is filed under and how many are on\n * it; on the right, how long it has run. While it is recorded a small red dot and the word say so\n * before the time: the only red on the page besides Leave.\n */\nexport function CallHeader({ elapsed, recording, count }: CallHeaderProps) {\n  return (\n    <header className=\"gap-ws-12 flex flex-wrap items-end justify-between\">\n      <div className=\"gap-ws-3 flex min-w-0 flex-col\">\n        <h1 className=\"typography-title-sm text-ws-static-strong\">{call.title}</h1>\n        <p className=\"typography-body-md text-ws-static-subtle gap-ws-5 flex flex-wrap items-center\">\n          <span>\n            Deal <TextLink href={`#${call.deal.id}`}>{call.deal.name}</TextLink>\n          </span>\n          <Dot />\n          <span className=\"tabular-nums\">{count} people</span>\n        </p>\n      </div>\n\n      <p className=\"typography-label-md text-ws-static-base gap-ws-7 flex items-center tabular-nums\">\n        {recording && (\n          <span className=\"gap-ws-3 flex items-center\">\n            <span\n              aria-hidden=\"true\"\n              className=\"size-ws-5 rounded-ws-control-full bg-ws-semantic-inverse-negative\"\n            />\n            Recording\n          </span>\n        )}\n        {elapsed !== undefined && (\n          <span>\n            <span className=\"sr-only\">Call time </span>\n            {formatClock(elapsed)}\n          </span>\n        )}\n      </p>\n    </header>\n  );\n}\n"
    },
    {
      "path": "src/blocks/call/call-stage.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/call/call-stage.tsx",
      "content": "'use client';\n\n// TODO(custom): the call stage (a surface that stays dark in both themes, the people as tiles, a shared screen in the large spot); Wideset has no call or media surface.\nimport { RiPhoneLine } from '@remixicon/react';\nimport { Button } from '@/components/ui/wideset/button/Button';\nimport { cn } from '@/lib/wideset/utils';\n\nimport type { Participant } from './data';\nimport { ParticipantTile } from './participant-tile';\nimport { SharedScreen } from './shared-screen';\n\nexport type CallPhase = 'connecting' | 'live' | 'left';\n\ntype CallStageProps = {\n  phase: CallPhase;\n  people: Participant[];\n  /** Whose voice is on now, if anyone's. */\n  speakerId?: string;\n  sharing: boolean;\n  onRejoin: () => void;\n};\n\n/**\n * The call itself, the heaviest thing on the page: a dark island (`dark` on its root), as a video\n * is dark in both themes. Four people share it as a two-by-two grid; while a screen is shared it\n * takes the large spot and the people move to a strip under it. Before the call connects, and\n * after leaving it, the stage says so in one line.\n */\nexport function CallStage({ phase, people, speakerId, sharing, onRejoin }: CallStageProps) {\n  return (\n    <section\n      aria-label=\"Call\"\n      className=\"dark bg-ws-static-background rounded-ws-container-md p-ws-5 text-ws-static-strong flex min-h-0 flex-1 flex-col\"\n    >\n      {phase === 'live' ? (\n        <div\n          className={cn(\n            'gap-ws-5 grid min-h-0 flex-1',\n            sharing && 'grid-rows-[minmax(0,1fr)_8rem]',\n          )}\n        >\n          {sharing && <SharedScreen />}\n          <ul\n            aria-label=\"People on the call\"\n            className={cn(\n              'gap-ws-5 grid min-h-0',\n              sharing ? 'grid-cols-4' : 'grid-cols-2 grid-rows-2',\n            )}\n          >\n            {people.map((person) => (\n              <ParticipantTile\n                key={person.id}\n                person={person}\n                speaking={person.id === speakerId}\n                compact={sharing}\n              />\n            ))}\n          </ul>\n        </div>\n      ) : (\n        <div\n          role=\"status\"\n          className=\"gap-ws-9 flex flex-1 flex-col items-center justify-center text-center\"\n        >\n          {phase === 'connecting' ? (\n            <p className=\"typography-label-md text-ws-static-subtle\">Connecting…</p>\n          ) : (\n            <>\n              <p className=\"typography-label-strong-md text-ws-static-strong\">You left the call</p>\n              <Button variant=\"secondary\" preset=\"border\" size=\"sm\" onClick={onRejoin}>\n                <Button.Icon icon={RiPhoneLine} />\n                Rejoin\n              </Button>\n            </>\n          )}\n        </div>\n      )}\n    </section>\n  );\n}\n"
    },
    {
      "path": "src/blocks/call/control-bar.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/call/control-bar.tsx",
      "content": "'use client';\n\nimport {\n  type RemixiconComponentType,\n  RiArrowUpBoxLine,\n  RiChat3Line,\n  RiFileEditLine,\n  RiGroupLine,\n  RiMicLine,\n  RiMicOffLine,\n  RiRecordCircleLine,\n  RiVideoOffLine,\n  RiVideoOnLine,\n} from '@remixicon/react';\nimport { Button } from '@/components/ui/wideset/button/Button';\nimport { IconButton } from '@/components/ui/wideset/button/IconButton';\nimport { type IconButtonProps } from '@/components/ui/wideset/button/IconButton.types';\nimport { Popup } from '@/components/ui/wideset/popup/Popup';\nimport { Tooltip } from '@/components/ui/wideset/tooltip/Tooltip';\nimport { forwardRef, type ReactNode, useState } from 'react';\n\n/** The side panel's tabs, in the order the bar and the panel list them. */\nexport type PanelTab = 'notes' | 'chat' | 'people';\n\ntype ToggleProps = Omit<IconButtonProps, 'aria-label' | 'aria-pressed'> & {\n  /** The control's name, the same pressed or not: `aria-pressed` says which. */\n  label: string;\n  pressed: boolean;\n};\n\n/**\n * A toggle on the bar: quiet when off, a neutral fill when on (Wideset's secondary fill), never a\n * colour, so the bar's only red stays Leave. It forwards its ref so a popup can anchor to it.\n */\nconst Toggle = forwardRef<HTMLButtonElement, ToggleProps>(function Toggle(\n  { label, pressed, ...props },\n  ref,\n) {\n  return (\n    <IconButton\n      ref={ref}\n      variant=\"secondary\"\n      preset={pressed ? 'filled' : 'ghost'}\n      aria-label={label}\n      aria-pressed={pressed}\n      {...props}\n    />\n  );\n});\n\n/** Names a control on hover and focus, above it; the control keeps its own `aria-label`. */\nfunction Hint({ label, children }: { label: string; children: ReactNode }) {\n  return (\n    <Tooltip size=\"sm\">\n      <Tooltip.Trigger asChild>{children}</Tooltip.Trigger>\n      <Tooltip.Content className=\"ws-block-utility\" side=\"top\">\n        <Tooltip.Label>{label}</Tooltip.Label>\n      </Tooltip.Content>\n    </Tooltip>\n  );\n}\n\nconst PANELS: { tab: PanelTab; label: string; icon: RemixiconComponentType }[] = [\n  { tab: 'notes', label: 'Notes', icon: RiFileEditLine },\n  { tab: 'chat', label: 'Chat', icon: RiChat3Line },\n  { tab: 'people', label: 'People', icon: RiGroupLine },\n];\n\ntype ControlBarProps = {\n  muted: boolean;\n  cameraOff: boolean;\n  sharing: boolean;\n  recording: boolean;\n  /** The side panel's open tab, or nothing while it is closed. */\n  panel: PanelTab | null;\n  onMutedChange: (muted: boolean) => void;\n  onCameraOffChange: (off: boolean) => void;\n  onSharingChange: (sharing: boolean) => void;\n  onRecordingChange: (recording: boolean) => void;\n  onPanelChange: (panel: PanelTab | null) => void;\n  onLeave: () => void;\n};\n\n/**\n * The call's controls under the stage: what Maya sends (microphone, camera, screen, recording)\n * on the left; the panels and the way out on the right. Each is an icon button named by its\n * label and a tooltip, its state in `aria-pressed`. The bar is what the hand goes to during a\n * call, so its controls keep the default 40px height, a step above the page's 32px controls.\n * Recording asks first, since everyone on the call will be told; stopping it does not. Leave is\n * the one coloured control. In a narrow column the groups wrap, and so do their buttons.\n */\nexport function ControlBar({\n  muted,\n  cameraOff,\n  sharing,\n  recording,\n  panel,\n  onMutedChange,\n  onCameraOffChange,\n  onSharingChange,\n  onRecordingChange,\n  onPanelChange,\n  onLeave,\n}: ControlBarProps) {\n  const [confirming, setConfirming] = useState(false);\n\n  return (\n    <div\n      role=\"toolbar\"\n      aria-label=\"Call controls\"\n      className=\"gap-ws-3 flex flex-wrap items-center justify-between\"\n    >\n      <div className=\"gap-ws-3 flex flex-wrap items-center\">\n        <Hint label={muted ? 'Unmute' : 'Mute'}>\n          <Toggle\n            icon={muted ? RiMicOffLine : RiMicLine}\n            label=\"Mute\"\n            pressed={muted}\n            onClick={() => onMutedChange(!muted)}\n          />\n        </Hint>\n        <Hint label={cameraOff ? 'Turn on camera' : 'Turn off camera'}>\n          <Toggle\n            icon={cameraOff ? RiVideoOffLine : RiVideoOnLine}\n            label=\"Camera off\"\n            pressed={cameraOff}\n            onClick={() => onCameraOffChange(!cameraOff)}\n          />\n        </Hint>\n        <Hint label={sharing ? 'Stop sharing' : 'Share screen'}>\n          <Toggle\n            icon={RiArrowUpBoxLine}\n            label=\"Share screen\"\n            pressed={sharing}\n            onClick={() => onSharingChange(!sharing)}\n          />\n        </Hint>\n        {/* The trigger opens the confirm only to start; a press while recording stops at once. */}\n        <Popup open={confirming} onOpenChange={(open) => setConfirming(open && !recording)}>\n          <Hint label={recording ? 'Stop recording' : 'Record'}>\n            <Popup.Trigger asChild>\n              <Toggle\n                icon={RiRecordCircleLine}\n                label=\"Record\"\n                pressed={recording}\n                onClick={recording ? () => onRecordingChange(false) : undefined}\n              />\n            </Popup.Trigger>\n          </Hint>\n          <Popup.Container side=\"top\" align=\"start\" className=\"ws-block-utility w-[20rem]\">\n            <Popup.Header>\n              <Popup.Title>Record this call?</Popup.Title>\n            </Popup.Header>\n            <Popup.Content>\n              <Popup.Description>\n                Everyone on the call is told that it is being recorded. The recording is saved to\n                the deal.\n              </Popup.Description>\n            </Popup.Content>\n            <Popup.Footer>\n              <Popup.Close asChild>\n                <Button variant=\"secondary\" preset=\"border\" size=\"sm\">\n                  Cancel\n                </Button>\n              </Popup.Close>\n              <Button\n                size=\"sm\"\n                onClick={() => {\n                  onRecordingChange(true);\n                  setConfirming(false);\n                }}\n              >\n                Start recording\n              </Button>\n            </Popup.Footer>\n          </Popup.Container>\n        </Popup>\n      </div>\n\n      <div className=\"gap-ws-3 flex flex-wrap items-center\">\n        {PANELS.map(({ tab, label, icon }) => (\n          <Hint key={tab} label={panel === tab ? `Hide ${label.toLowerCase()}` : label}>\n            <Toggle\n              icon={icon}\n              label={label}\n              pressed={panel === tab}\n              onClick={() => onPanelChange(panel === tab ? null : tab)}\n            />\n          </Hint>\n        ))}\n        <Button variant=\"danger\" onClick={onLeave} className=\"ml-ws-7\">\n          Leave\n        </Button>\n      </div>\n    </div>\n  );\n}\n"
    },
    {
      "path": "src/blocks/call/data.ts",
      "type": "registry:file",
      "target": "blocks/wideset/call/data.ts",
      "content": "import {\n  type RemixiconComponentType,\n  RiBankCardLine,\n  RiContactsBook3Line,\n  RiHandCoinFill,\n  RiHandCoinLine,\n  RiHome5Line,\n  RiInbox2Line,\n  RiKey2Line,\n  RiLineChartLine,\n  RiPieChart2Line,\n  RiPlugLine,\n  RiQuestionLine,\n  RiSettings3Line,\n  RiTeamLine,\n} from '@remixicon/react';\nimport type { AvatarColor } from '@/components/ui/wideset/avatar/Avatar.colors';\n\n/*\n  Tuesday 10 November 2026, 11:29. Maya hosts the renewal call Ingrid Solberg asked for: Halcyon\n  Freight's finance committee meets on Thursday at 10:00 and the revised quote has to reach Ingrid\n  by noon tomorrow. Jonas joins from Lumen Studio after his Atlas Robotics meeting; Dana Whitfield,\n  Halcyon's head of operations, joins with Ingrid. The terms are the ones settled in the\n  halcyon-renewal channel: two years at 8 percent under list, 12 dispatcher seats from January 1,\n  the onboarding fee for those seats waived. The call sits on the deal \"Halcyon Freight renewal\".\n*/\n\n/** The product is Orbit; the workspace using it is Lumen Studio. */\nexport const product = { name: 'Orbit' };\nexport const workspace = { name: 'Lumen Studio', initials: 'LS' };\nexport const account = { name: 'Maya Okafor', email: 'maya@lumenstudio.co', initials: 'MO' };\n\nexport type NavLink = {\n  id: string;\n  label: string;\n  icon: RemixiconComponentType;\n  /** The icon while the page is open (a line icon swaps for its fill). */\n  activeIcon?: RemixiconComponentType;\n};\n\nexport const mainLinks: NavLink[] = [\n  { id: 'home', label: 'Home', icon: RiHome5Line },\n  { id: 'inbox', label: 'Inbox', icon: RiInbox2Line },\n  { id: 'customers', label: 'Customers', icon: RiContactsBook3Line },\n  { id: 'deals', label: 'Deals', icon: RiHandCoinLine, activeIcon: RiHandCoinFill },\n  { id: 'revenue', label: 'Revenue', icon: RiLineChartLine },\n  { id: 'reports', label: 'Reports', icon: RiPieChart2Line },\n];\n\nexport const settingsLinks: NavLink[] = [\n  { id: 'general', label: 'General', icon: RiSettings3Line },\n  { id: 'members', label: 'Members', icon: RiTeamLine },\n  { id: 'billing', label: 'Billing', icon: RiBankCardLine },\n  { id: 'integrations', label: 'Integrations', icon: RiPlugLine },\n  { id: 'api-keys', label: 'API keys', icon: RiKey2Line },\n];\n\nexport const helpLink: NavLink = { id: 'help', label: 'Help and support', icon: RiQuestionLine };\n\nexport type Participant = {\n  id: string;\n  name: string;\n  initials: string;\n  color: AvatarColor;\n  company: string;\n  /** Whether their microphone is off. */\n  muted: boolean;\n  /** The signed-in user, who hosts the call. */\n  you?: boolean;\n};\n\nconst person = (\n  id: string,\n  name: string,\n  color: AvatarColor,\n  company: string,\n  muted = false,\n): Participant => ({\n  id,\n  name,\n  initials: name\n    .split(' ')\n    .map((part) => part[0])\n    .join(''),\n  color,\n  company,\n  muted,\n});\n\n/** Who is on the call, the signed-in host first: two from Lumen Studio, two from Halcyon. */\nexport const participants: Participant[] = [\n  { ...person('maya', account.name, 'orange', workspace.name), you: true },\n  person('jonas', 'Jonas Weber', 'blue', workspace.name),\n  person('ingrid', 'Ingrid Solberg', 'teal', 'Halcyon Freight'),\n  person('dana', 'Dana Whitfield', 'purple', 'Halcyon Freight', true),\n];\n\n/** Who talks next, in turn, one turn every few seconds; whoever is muted is skipped. */\nexport const turns = ['ingrid', 'maya', 'ingrid', 'jonas', 'maya', 'dana', 'ingrid'];\n\nexport const call = {\n  title: 'Renewal call',\n  customer: 'Halcyon Freight',\n  deal: { id: 'halcyon-renewal', name: 'Halcyon Freight renewal' },\n  /** How long the call has run when the page opens, in seconds (it started at 11:15). */\n  elapsed: 14 * 60 + 32,\n};\n\n/** The quote Maya shares: what the committee will read on Thursday. */\nexport const sharedQuote = {\n  owner: account.name,\n  title: 'Halcyon Freight renewal 2027',\n  subtitle: 'Revised quote, November 10, 2026',\n  terms: [\n    { label: 'Term', value: 'Two years, from January 1, 2027' },\n    { label: 'Seats', value: '120, plus 12 dispatcher seats from January 1' },\n    { label: 'Price', value: '8% under list, fixed for both years' },\n    { label: 'Onboarding fee', value: 'Waived for the 12 new seats' },\n  ],\n  footnote: 'Valid until November 20, 2026',\n};\n\n/** Maya's notes so far, one point a line. They are saved to the deal. */\nexport const notes = [\n  'The committee meets Thursday at 10:00; the quote reaches Ingrid by noon tomorrow',\n  'Two-year term at 8% under list, approved by Priya',\n  '12 dispatcher seats start on January 1',\n  'Onboarding fee for the new seats is waived',\n];\n\nexport type ChatMessage = { id: string; authorId: string; at: string; text: string };\n\n/** What was written in the call's chat, oldest first; everyone on the call reads it. */\nexport const chat: ChatMessage[] = [\n  {\n    id: 'chat-1',\n    authorId: 'ingrid',\n    at: '2026-11-10T11:17',\n    text: 'The renewal is on Thursday’s agenda as item 3.',\n  },\n  {\n    id: 'chat-2',\n    authorId: 'jonas',\n    at: '2026-11-10T11:19',\n    text: 'Thank you, Ingrid. The revised quote follows today.',\n  },\n  {\n    id: 'chat-3',\n    authorId: 'dana',\n    at: '2026-11-10T11:24',\n    text: 'Could the 12 new seats be ready in December? We want to train the dispatchers before they go live.',\n  },\n];\n\n/** The moment a message sent now is stamped with (local time). */\nexport const NOW = '2026-11-10T11:29';\n"
    },
    {
      "path": "src/blocks/call/format.ts",
      "type": "registry:file",
      "target": "blocks/wideset/call/format.ts",
      "content": "// One locale for the whole screen; swap it for the user's.\nconst LOCALE = 'en-US';\n\nconst twoDigits = new Intl.NumberFormat(LOCALE, { minimumIntegerDigits: 2 });\nconst time = new Intl.DateTimeFormat(LOCALE, { hour: 'numeric', minute: '2-digit' });\n\n/** How long the call has run: \"14:32\", \"1:02:05\" past the hour. */\nexport function formatClock(seconds: number) {\n  const whole = Math.floor(seconds);\n  const hours = Math.floor(whole / 3600);\n  const minutes = Math.floor((whole % 3600) / 60);\n  const secs = twoDigits.format(whole % 60);\n  return hours ? `${hours}:${twoDigits.format(minutes)}:${secs}` : `${minutes}:${secs}`;\n}\n\n/** When a chat message was sent, the same day: \"11:17 AM\". */\nexport const formatTime = (iso: string) => time.format(new Date(iso));\n"
    },
    {
      "path": "src/blocks/call/index.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/call/index.tsx",
      "content": "'use client';\n\nimport '@/styles/wideset-blocks.css';\n\nimport { RiSideBarLine } from '@remixicon/react';\nimport { AppShell } from '@/components/ui/wideset/app-shell/AppShell';\nimport { Breadcrumbs } from '@/components/ui/wideset/breadcrumbs/Breadcrumbs';\nimport { IconButton } from '@/components/ui/wideset/button/IconButton';\nimport { useEffect, useId, useState } from 'react';\n\nimport { CallHeader } from './call-header';\nimport { type CallPhase, CallStage } from './call-stage';\nimport { ControlBar, type PanelTab } from './control-bar';\nimport { call, chat, notes as initialNotes, NOW, participants, turns } from './data';\nimport { SidePanel } from './side-panel';\nimport { CallSidebar } from './sidebar';\n\n/** How long the call takes to connect when the page opens, in milliseconds. */\nconst CONNECTING = 1000;\n/** How long each turn to speak lasts, in seconds of the call's clock. */\nconst TURN = 3;\n\n/** Whose turn it is at this second of the call; a muted person is passed over to the next. */\nfunction speakerAt(elapsed: number, mutedIds: string[]) {\n  const start = Math.floor(elapsed / TURN);\n  for (let step = 0; step < turns.length; step += 1) {\n    const id = turns[(start + step) % turns.length];\n    if (!mutedIds.includes(id)) return id;\n  }\n  return undefined;\n}\n\n/**\n * Call (Inset direction): Maya's renewal call with Halcyon Freight on the raised page beside the\n * workspace sidebar. The header names the call and its deal; the dark stage under it, the\n * heaviest thing on the page, holds the four people (and a shared screen when there is one); the\n * control bar sits under the stage. Beside it a 22rem panel holds the notes, the call's chat and\n * the people. The page opens on a second of \"Connecting…\"; then the clock runs and the speaker's\n * outline moves from tile to tile.\n */\nexport default function Call() {\n  const sidebarId = useId();\n  const [collapsed, setCollapsed] = useState(false);\n  const [phase, setPhase] = useState<CallPhase>('connecting');\n  const [elapsed, setElapsed] = useState(call.elapsed);\n  const [people, setPeople] = useState(participants);\n  const [cameraOff, setCameraOff] = useState(true);\n  const [sharing, setSharing] = useState(false);\n  const [recording, setRecording] = useState(false);\n  const [panel, setPanel] = useState<PanelTab | null>('notes');\n  const [notes, setNotes] = useState([...initialNotes, '']);\n  const [messages, setMessages] = useState(chat);\n\n  useEffect(() => {\n    if (phase !== 'connecting') return;\n    const id = window.setTimeout(() => setPhase('live'), CONNECTING);\n    return () => window.clearTimeout(id);\n  }, [phase]);\n\n  useEffect(() => {\n    if (phase !== 'live') return;\n    const id = window.setInterval(() => setElapsed((seconds) => seconds + 1), 1000);\n    return () => window.clearInterval(id);\n  }, [phase]);\n\n  const me = people.find((person) => person.you)!;\n  const mute = (ids: string[], muted = true) =>\n    setPeople((current) =>\n      current.map((person) => (ids.includes(person.id) ? { ...person, muted } : person)),\n    );\n\n  const leave = () => {\n    setPhase('left');\n    setRecording(false);\n    setSharing(false);\n  };\n\n  return (\n    <AppShell className=\"ws-block-utility\" direction=\"inset\">\n      <CallSidebar id={sidebarId} collapsed={collapsed} onCollapsedChange={setCollapsed} />\n      <AppShell.Main>\n        <div className=\"h-ws-18 border-ws-static-base flex shrink-0 items-center border-b\">\n          {/* The bar belongs to the surround: it runs edge to edge. The sidebar's toggle is pulled\n              left so its glyph, not its box, sits 20px from the edge; the crumbs follow it. */}\n          <div className=\"gap-ws-5 px-ws-11 flex w-full items-center\">\n            <IconButton\n              icon={RiSideBarLine}\n              variant=\"secondary\"\n              preset=\"ghost\"\n              size=\"sm\"\n              iconClassName=\"text-ws-static-subtle size-ws-9\"\n              aria-label={collapsed ? 'Expand sidebar' : 'Collapse sidebar'}\n              aria-expanded={!collapsed}\n              aria-controls={sidebarId}\n              onClick={() => setCollapsed(!collapsed)}\n              className=\"-ml-ws-5\"\n            />\n            <Breadcrumbs separator=\"arrow\">\n              <Breadcrumbs.Item asChild>\n                <a href=\"#deals\">Deals</a>\n              </Breadcrumbs.Item>\n              <Breadcrumbs.Item asChild>\n                <a href={`#${call.deal.id}`}>{call.customer}</a>\n              </Breadcrumbs.Item>\n              <Breadcrumbs.Item>{call.title}</Breadcrumbs.Item>\n            </Breadcrumbs>\n          </div>\n        </div>\n\n        {/* The call fills the card under the bar; the panel runs beside it, full height. */}\n        <div className=\"flex min-h-0 flex-1\">\n          <div className=\"gap-ws-9 px-ws-12 pt-ws-12 pb-ws-9 flex min-w-0 flex-1 flex-col\">\n            <CallHeader\n              elapsed={phase === 'live' ? elapsed : undefined}\n              recording={recording}\n              count={people.length}\n            />\n            <CallStage\n              phase={phase}\n              people={people}\n              speakerId={speakerAt(\n                elapsed,\n                people.filter((person) => person.muted).map((person) => person.id),\n              )}\n              sharing={sharing}\n              onRejoin={() => setPhase('connecting')}\n            />\n            {phase !== 'left' && (\n              <ControlBar\n                muted={me.muted}\n                cameraOff={cameraOff}\n                sharing={sharing}\n                recording={recording}\n                panel={panel}\n                onMutedChange={(muted) => mute([me.id], muted)}\n                onCameraOffChange={setCameraOff}\n                onSharingChange={setSharing}\n                onRecordingChange={setRecording}\n                onPanelChange={setPanel}\n                onLeave={leave}\n              />\n            )}\n          </div>\n\n          {panel && (\n            <SidePanel\n              tab={panel}\n              onTabChange={setPanel}\n              notes={notes}\n              onNotesChange={setNotes}\n              messages={messages}\n              onSend={(text) =>\n                setMessages((current) => [\n                  ...current,\n                  { id: `sent-${current.length}`, authorId: 'maya', at: NOW, text },\n                ])\n              }\n              people={people}\n              onMute={(id) => mute([id])}\n              onMuteAll={() => mute(people.filter((person) => !person.you).map(({ id }) => id))}\n            />\n          )}\n        </div>\n      </AppShell.Main>\n    </AppShell>\n  );\n}\n"
    },
    {
      "path": "src/blocks/call/meeting-notes.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/call/meeting-notes.tsx",
      "content": "'use client';\n\n// TODO(custom): meeting notes as a list of bullet lines; Wideset has no notes or list editor.\nimport { type KeyboardEvent, useEffect, useRef } from 'react';\n\ntype MeetingNotesProps = {\n  /** One point a line; the last line is where the next point goes. */\n  lines: string[];\n  onLinesChange: (lines: string[]) => void;\n};\n\n/**\n * Notes taken during the call, one point a line, the way they are written in a meeting: Enter\n * starts the next point under the cursor's line, Backspace on an empty line joins the one above.\n * The lines are borderless text that wraps, so the list reads as notes and not as a form.\n */\nexport function MeetingNotes({ lines, onLinesChange }: MeetingNotesProps) {\n  const fields = useRef<(HTMLTextAreaElement | null)[]>([]);\n  // The line to put the cursor in once the list has redrawn.\n  const focusNext = useRef<number | null>(null);\n\n  useEffect(() => {\n    const index = focusNext.current;\n    if (index === null) return;\n    const field = fields.current[index];\n    field?.focus();\n    field?.setSelectionRange(field.value.length, field.value.length);\n    focusNext.current = null;\n  }, [lines]);\n\n  const onKeyDown = (index: number) => (event: KeyboardEvent<HTMLTextAreaElement>) => {\n    if (event.key === 'Enter' && !event.shiftKey && !event.nativeEvent.isComposing) {\n      event.preventDefault();\n      focusNext.current = index + 1;\n      onLinesChange([...lines.slice(0, index + 1), '', ...lines.slice(index + 1)]);\n    } else if (event.key === 'Backspace' && lines[index] === '' && lines.length > 1) {\n      event.preventDefault();\n      focusNext.current = Math.max(0, index - 1);\n      onLinesChange(lines.filter((_, at) => at !== index));\n    }\n  };\n\n  return (\n    <ul aria-label=\"Notes\" className=\"gap-ws-3 flex flex-col\">\n      {lines.map((line, index) => (\n        // A line has no identity beyond its place in the list.\n        <li key={index} className=\"gap-ws-5 flex items-start\">\n          <span aria-hidden=\"true\" className=\"typography-body-md text-ws-static-subtle\">\n            •\n          </span>\n          <textarea\n            ref={(field) => {\n              fields.current[index] = field;\n            }}\n            rows={1}\n            value={line}\n            aria-label={`Note ${index + 1}`}\n            placeholder={index === lines.length - 1 ? 'Add a note' : undefined}\n            onChange={(event) =>\n              onLinesChange(lines.map((text, at) => (at === index ? event.target.value : text)))\n            }\n            onKeyDown={onKeyDown(index)}\n            className=\"typography-body-md text-ws-static-base placeholder:text-ws-static-subtle block field-sizing-content w-full resize-none bg-transparent outline-hidden\"\n          />\n        </li>\n      ))}\n    </ul>\n  );\n}\n"
    },
    {
      "path": "src/blocks/call/participant-tile.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/call/participant-tile.tsx",
      "content": "'use client';\n\n// TODO(custom): a person's tile on the call stage (avatar, name, muted mark, speaking outline); Wideset has no video or participant tile.\nimport { RiMicOffLine } from '@remixicon/react';\nimport { type AvatarColor } from '@/components/ui/wideset/avatar/Avatar.colors';\nimport { cn } from '@/lib/wideset/utils';\n\nimport type { Participant } from './data';\nimport { PersonAvatar } from './person-avatar';\n\n/** The tile takes the fill of its person's avatar, so each person reads as one colour. */\nconst FILL: Record<AvatarColor, string> = {\n  blue: 'bg-ws-non-semantic-blue-subtle',\n  purple: 'bg-ws-non-semantic-purple-subtle',\n  pink: 'bg-ws-non-semantic-pink-subtle',\n  orange: 'bg-ws-non-semantic-orange-subtle',\n  lime: 'bg-ws-non-semantic-lime-subtle',\n  teal: 'bg-ws-non-semantic-teal-subtle',\n  brand: 'bg-ws-non-semantic-brand-subtle',\n  violet: 'bg-ws-non-semantic-violet-subtle',\n  red: 'bg-ws-non-semantic-red-subtle',\n  yellow: 'bg-ws-non-semantic-yellow-subtle',\n  green: 'bg-ws-non-semantic-green-subtle',\n  cyan: 'bg-ws-non-semantic-cyan-subtle',\n  indigo: 'bg-ws-non-semantic-indigo-subtle',\n};\n\ntype ParticipantTileProps = {\n  person: Participant;\n  speaking: boolean;\n  /** In the strip under a shared screen: a smaller avatar and less room. */\n  compact?: boolean;\n};\n\n/**\n * One person on the call, drawn without a camera: the tile in their avatar's colour, the avatar\n * large in the middle, their name at the foot and, when their microphone is off, a quiet mark beside it. Whoever is speaking\n * takes a thin light outline; it moves between tiles without a fade when motion is reduced.\n */\nexport function ParticipantTile({ person, speaking, compact = false }: ParticipantTileProps) {\n  return (\n    <li\n      className={cn(\n        FILL[person.color],\n        'rounded-ws-container-md relative flex min-h-0 min-w-0 items-center justify-center outline-2 -outline-offset-2 transition-[outline-color] duration-(--ws-motion-duration-fast) ease-(--ws-motion-ease-out) motion-reduce:transition-none',\n        speaking ? 'outline-ws-static-inverse-background' : 'outline-transparent',\n      )}\n    >\n      <PersonAvatar\n        size={compact ? 'lg' : '2xl'}\n        name={person.name}\n        initials={person.initials}\n        color={person.color}\n        aria-hidden\n      />\n      <p\n        className={cn(\n          'gap-ws-3 absolute flex max-w-full min-w-0 items-center',\n          compact ? 'bottom-ws-3 left-ws-5 right-ws-5' : 'bottom-ws-7 left-ws-9 right-ws-9',\n        )}\n      >\n        <span\n          className={cn(\n            'text-ws-static-strong truncate',\n            compact ? 'typography-caption-strong-md' : 'typography-label-strong-sm',\n          )}\n        >\n          {person.you ? `${person.name} (you)` : person.name}\n        </span>\n        {person.muted && (\n          <RiMicOffLine\n            role=\"img\"\n            aria-label=\"Muted\"\n            className=\"size-ws-8 text-ws-static-subtle shrink-0\"\n          />\n        )}\n        {speaking && <span className=\"sr-only\">, speaking</span>}\n      </p>\n    </li>\n  );\n}\n"
    },
    {
      "path": "src/blocks/call/people-list.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/call/people-list.tsx",
      "content": "'use client';\n\n// TODO(custom): a person row on a call (avatar, name, company, microphone state, Mute); Wideset's ListItem always reads as clickable.\nimport { RiMicLine, RiMicOffLine } from '@remixicon/react';\nimport { Button } from '@/components/ui/wideset/button/Button';\nimport { useId } from 'react';\n\nimport type { Participant } from './data';\nimport { PersonAvatar } from './person-avatar';\n\ntype PeopleListProps = {\n  people: Participant[];\n  onMute: (id: string) => void;\n  onMuteAll: () => void;\n};\n\n/**\n * Who is on the call and whether they can be heard. Maya hosts, so she can turn anyone's\n * microphone off, one by one or all at once; turning it back on is theirs to do, so a muted row\n * only says so. The rows do nothing on click, so they are plain list items, not ListItem.\n */\nexport function PeopleList({ people, onMute, onMuteAll }: PeopleListProps) {\n  const id = useId();\n  const others = people.filter((person) => !person.you);\n\n  return (\n    <section aria-labelledby={id} className=\"gap-ws-7 p-ws-9 flex flex-col\">\n      <div className=\"gap-ws-5 flex items-center justify-between\">\n        <h2 id={id} className=\"typography-label-strong-md text-ws-static-strong\">\n          On the call\n        </h2>\n        <Button\n          variant=\"secondary\"\n          preset=\"border\"\n          size=\"sm\"\n          disabled={others.every((person) => person.muted)}\n          onClick={onMuteAll}\n        >\n          Mute all\n        </Button>\n      </div>\n      <ul aria-labelledby={id} className=\"gap-ws-5 flex flex-col\">\n        {people.map((person) => (\n          <li key={person.id} className=\"gap-ws-5 py-ws-3 flex items-center\">\n            <PersonAvatar\n              name={person.name}\n              initials={person.initials}\n              color={person.color}\n              aria-hidden\n            />\n            <div className=\"min-w-0 flex-1\">\n              <p className=\"typography-label-sm text-ws-static-strong truncate\">\n                {person.you ? `${person.name} (you)` : person.name}\n              </p>\n              <p className=\"typography-body-sm text-ws-static-subtle truncate\">\n                {person.you ? `${person.company}, host` : person.company}\n              </p>\n            </div>\n            {person.muted || person.you ? (\n              <span className=\"typography-label-sm text-ws-static-subtle gap-ws-3 flex items-center\">\n                {person.muted ? (\n                  <>\n                    <RiMicOffLine aria-hidden className=\"size-ws-9\" />\n                    Muted\n                  </>\n                ) : (\n                  <RiMicLine role=\"img\" aria-label=\"Microphone on\" className=\"size-ws-9\" />\n                )}\n              </span>\n            ) : (\n              <Button\n                variant=\"secondary\"\n                preset=\"ghost\"\n                size=\"sm\"\n                aria-label={`Mute ${person.name}`}\n                onClick={() => onMute(person.id)}\n                className=\"-mr-ws-6\"\n              >\n                Mute\n              </Button>\n            )}\n          </li>\n        ))}\n      </ul>\n    </section>\n  );\n}\n"
    },
    {
      "path": "src/blocks/call/people.assets.ts",
      "type": "registry:file",
      "target": "blocks/wideset/call/people.assets.ts",
      "content": "// Portraits of the sample people as small JPEG data URLs (a block ships only .ts and .tsx).\n// Exported from the Wideset Core Figma file by people.cjs: do not edit by hand.\n\n/** A person’s photo by name. People who are not here show their initials. */\nexport const PHOTOS: Record<string, string | undefined> = {\n  'Maya Okafor':\n    'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABj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EnO5I3eo6036fVOihbe/mKdiqzEoMCVCipGVZ3mAVN5cR7c1HEEHB4NWCOrjKmaSCPMkLfbsLStw7lK6VOpaCUnjpTRJS06Gx/tvJwP7VdP4+1SBO2Ups9CKos5OTOqMHRsWfQ1nbbHlp4xjmsbqC7IS2Oxyad42rKfpWCZPHkMvoKHmwpJ4PGQfcVh/01bVjCWEAeiDj9KztnBPvTpODQatX9QzCtjp6TiYIWnrdDVuSyCf7yT+lS+8JGEgAU0QOay1JEVOlGJF3ZzlzmelJ3ck14DaQoDFZB0xWMnhSvsKlIw2AjoOairpZkSG1uIGHEjIx3qWzhzHZCayK/Dj1qSMVORAe5//Z',\n};\n"
    },
    {
      "path": "src/blocks/call/person-avatar.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/call/person-avatar.tsx",
      "content": "'use client';\n\nimport { Avatar } from '@/components/ui/wideset/avatar/Avatar';\nimport { type AvatarColor } from '@/components/ui/wideset/avatar/Avatar.colors';\nimport { type AvatarProps } from '@/components/ui/wideset/avatar/Avatar.types';\n\nimport { PHOTOS } from './people.assets';\n\ntype PersonAvatarProps = Pick<\n  AvatarProps,\n  'size' | 'shape' | 'status' | 'className' | 'style' | 'title' | 'aria-hidden' | 'aria-label'\n> & {\n  /** The person's full name: the key their photo is filed under. */\n  name: string;\n  initials: string;\n  /** The colour of the initials. A photo takes none. */\n  color?: AvatarColor;\n  /** Empty beside the person's name (the default); their name when the avatar stands alone. */\n  alt?: string;\n};\n\n/**\n * A person's avatar: their photo when they have one, their initials when not. The choice lives\n * here so every place the block draws a person mixes the two the same way. The rest of the props\n * go to the `Avatar`, so it also sits in an `Avatar.Group`.\n */\nexport function PersonAvatar({ name, initials, color, alt = '', ...avatar }: PersonAvatarProps) {\n  const photo = PHOTOS[name];\n  return photo ? (\n    <Avatar src={photo} alt={alt} initials={initials} {...avatar} />\n  ) : (\n    <Avatar initials={initials} color={color} {...avatar} />\n  );\n}\n"
    },
    {
      "path": "src/blocks/call/shared-screen.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/call/shared-screen.tsx",
      "content": "'use client';\n\n// TODO(custom): a shared screen on the call stage, drawn as the document being shown; Wideset has no screen-share or document preview.\nimport { RiComputerLine } from '@remixicon/react';\n\nimport { sharedQuote } from './data';\n\n/**\n * What Maya shares: the revised quote, drawn as a page on the stage rather than a picture of it,\n * so it reads in both themes and ships no image. A line above it says whose screen it is.\n */\nexport function SharedScreen() {\n  const { owner, title, subtitle, terms, footnote } = sharedQuote;\n  return (\n    <figure\n      aria-label={`${owner}’s screen`}\n      className=\"bg-ws-static-foreground rounded-ws-container-md gap-ws-7 p-ws-9 flex min-h-0 flex-col\"\n    >\n      <figcaption className=\"typography-label-sm text-ws-static-subtle gap-ws-3 flex items-center\">\n        <RiComputerLine aria-hidden className=\"size-ws-8\" />\n        You are sharing your screen\n      </figcaption>\n      <div className=\"bg-ws-static-container rounded-ws-container-sm gap-ws-12 p-ws-14 mx-auto flex min-h-0 w-full max-w-[40rem] flex-1 flex-col overflow-hidden\">\n        <div className=\"gap-ws-2 flex flex-col\">\n          <p className=\"typography-subtitle-xs text-ws-static-strong\">{title}</p>\n          <p className=\"typography-body-md text-ws-static-subtle\">{subtitle}</p>\n        </div>\n        <dl className=\"flex flex-col\">\n          {terms.map(({ label, value }) => (\n            <div\n              key={label}\n              className=\"gap-ws-9 border-ws-static-base py-ws-5 grid grid-cols-[9rem_minmax(0,1fr)] border-b\"\n            >\n              <dt className=\"typography-label-sm text-ws-static-subtle\">{label}</dt>\n              <dd className=\"typography-body-md text-ws-static-base\">{value}</dd>\n            </div>\n          ))}\n        </dl>\n        <p className=\"typography-caption-md text-ws-static-subtle mt-auto\">{footnote}</p>\n      </div>\n    </figure>\n  );\n}\n"
    },
    {
      "path": "src/blocks/call/side-panel.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/call/side-panel.tsx",
      "content": "'use client';\n\nimport { RiHandCoinLine } from '@remixicon/react';\nimport { LinkButton } from '@/components/ui/wideset/button/LinkButton';\nimport { Tabs } from '@/components/ui/wideset/tabs/Tabs';\n\nimport { CallChat } from './call-chat';\nimport type { PanelTab } from './control-bar';\nimport { call, type ChatMessage, type Participant } from './data';\nimport { MeetingNotes } from './meeting-notes';\nimport { PeopleList } from './people-list';\n\ntype SidePanelProps = {\n  tab: PanelTab;\n  onTabChange: (tab: PanelTab) => void;\n  notes: string[];\n  onNotesChange: (notes: string[]) => void;\n  messages: ChatMessage[];\n  onSend: (text: string) => void;\n  people: Participant[];\n  onMute: (id: string) => void;\n  onMuteAll: () => void;\n};\n\n/**\n * The panel beside the stage, 22rem, split from it by a line: the notes (under the deal they are\n * saved to), the call's chat and the people on it, one at a time. Its tabs carry no counts; the\n * bar's panel buttons open and close it on the same tab.\n */\nexport function SidePanel({\n  tab,\n  onTabChange,\n  notes,\n  onNotesChange,\n  messages,\n  onSend,\n  people,\n  onMute,\n  onMuteAll,\n}: SidePanelProps) {\n  return (\n    <aside\n      aria-label=\"Call panel\"\n      className=\"border-ws-static-subtle flex w-[22rem] shrink-0 flex-col border-l\"\n    >\n      <Tabs\n        value={tab}\n        onValueChange={(value) => onTabChange(value as PanelTab)}\n        className=\"flex min-h-0 flex-1 flex-col\"\n      >\n        <Tabs.List className=\"px-ws-9 pt-ws-5 shrink-0\">\n          <Tabs.Item value=\"notes\">\n            <Tabs.Label>Notes</Tabs.Label>\n          </Tabs.Item>\n          <Tabs.Item value=\"chat\">\n            <Tabs.Label>Chat</Tabs.Label>\n          </Tabs.Item>\n          <Tabs.Item value=\"people\">\n            <Tabs.Label>People</Tabs.Label>\n          </Tabs.Item>\n        </Tabs.List>\n\n        <Tabs.Content value=\"notes\" className=\"ws-scrollbar min-h-0 flex-1 overflow-y-auto\">\n          <div className=\"gap-ws-7 p-ws-9 flex flex-col\">\n            {/* Pulled left by the link's own padding, so its icon starts on the notes' edge. */}\n            <LinkButton\n              variant=\"secondary\"\n              href={`#${call.deal.id}`}\n              className=\"-ml-ws-6 gap-ws-3 self-start\"\n            >\n              <RiHandCoinLine aria-hidden className=\"size-ws-9\" />\n              {call.deal.name}\n            </LinkButton>\n            <MeetingNotes lines={notes} onLinesChange={onNotesChange} />\n          </div>\n        </Tabs.Content>\n        <Tabs.Content value=\"chat\" className=\"min-h-0 flex-1\">\n          <CallChat messages={messages} people={people} onSend={onSend} />\n        </Tabs.Content>\n        <Tabs.Content value=\"people\" className=\"ws-scrollbar min-h-0 flex-1 overflow-y-auto\">\n          <PeopleList people={people} onMute={onMute} onMuteAll={onMuteAll} />\n        </Tabs.Content>\n      </Tabs>\n    </aside>\n  );\n}\n"
    },
    {
      "path": "src/blocks/call/sidebar.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/call/sidebar.tsx",
      "content": "'use client';\n\n// TODO(custom): workspace switcher and account menu are composed by hand.\nimport {\n  RiAddLine,\n  RiArrowDownSLine,\n  RiLogoutBoxRLine,\n  RiSearchLine,\n  RiSettingsLine,\n} from '@remixicon/react';\nimport { Divider } from '@/components/ui/wideset/divider/Divider';\nimport { DropdownMenu } from '@/components/ui/wideset/dropdown/DropdownMenu';\nimport { IconButton } from '@/components/ui/wideset/button/IconButton';\nimport { ListItem } from '@/components/ui/wideset/list-item/ListItem';\nimport { Sidebar } from '@/components/ui/wideset/sidebar/Sidebar';\nimport { type SidebarProps } from '@/components/ui/wideset/sidebar/Sidebar.types';\nimport { TextInput } from '@/components/ui/wideset/text-input/TextInput';\nimport { useState } from 'react';\n\nimport { BrandMark } from './brand-mark';\nimport {\n  account,\n  helpLink,\n  mainLinks,\n  type NavLink,\n  product,\n  settingsLinks,\n  workspace,\n} from './data';\nimport { PersonAvatar } from './person-avatar';\n\n/**\n * The workspace sidebar: switcher, search, the app's pages, settings and the signed-in account.\n * Its toggle sits in the page bar, so the screen holds `collapsed` and passes it down; collapsed,\n * it keeps the mark, the page icons and the avatar.\n */\nexport function CallSidebar(props: Pick<SidebarProps, 'id' | 'collapsed' | 'onCollapsedChange'>) {\n  const [active, setActive] = useState('deals');\n\n  const link = ({ id, label, icon, activeIcon }: NavLink) => (\n    <Sidebar.Item\n      key={id}\n      href={`#${id}`}\n      icon={active === id ? (activeIcon ?? icon) : icon}\n      label={label}\n      active={active === id}\n      onClick={() => setActive(id)}\n    />\n  );\n\n  const nav = (\n    <nav aria-label=\"Workspace\" className=\"gap-ws-9 flex flex-col\">\n      <div className=\"flex flex-col\">{mainLinks.map(link)}</div>\n      <Divider weight=\"thin\" />\n      <div role=\"group\" aria-labelledby=\"sidebar-settings\" className=\"gap-ws-2 flex flex-col\">\n        <Sidebar.SectionHeader id=\"sidebar-settings\">Settings</Sidebar.SectionHeader>\n        {settingsLinks.map(link)}\n      </div>\n    </nav>\n  );\n\n  return (\n    <Sidebar {...props}>\n      <Sidebar.Header>\n        <Sidebar.Expanded>\n          <div className=\"gap-ws-9 flex flex-col\">\n            <div className=\"gap-ws-7 pt-ws-3 pb-ws-7 flex items-center\">\n              <BrandMark className=\"size-ws-15\" />\n              <div className=\"flex min-w-0 flex-1 flex-col\">\n                <span className=\"typography-label-strong-sm text-ws-static-strong truncate\">\n                  {workspace.name}\n                </span>\n                <span className=\"typography-caption-md text-ws-static-subtle truncate\">\n                  {product.name}\n                </span>\n              </div>\n              <DropdownMenu>\n                <DropdownMenu.Trigger asChild>\n                  <IconButton\n                    icon={RiArrowDownSLine}\n                    variant=\"secondary\"\n                    preset=\"ghost\"\n                    size=\"xs\"\n                    aria-label=\"Switch workspace\"\n                    className=\"mr-ws-3\"\n                  />\n                </DropdownMenu.Trigger>\n                <DropdownMenu.Content className=\"ws-block-utility\" align=\"end\">\n                  <DropdownMenu.Item data-state=\"checked\">\n                    <ListItem.Content>\n                      <ListItem.Label>{workspace.name}</ListItem.Label>\n                    </ListItem.Content>\n                  </DropdownMenu.Item>\n                  <DropdownMenu.Separator />\n                  <DropdownMenu.Item>\n                    <ListItem.Prefix>\n                      <RiAddLine className=\"size-ws-9\" />\n                    </ListItem.Prefix>\n                    <ListItem.Content>\n                      <ListItem.Label>New workspace</ListItem.Label>\n                    </ListItem.Content>\n                  </DropdownMenu.Item>\n                </DropdownMenu.Content>\n              </DropdownMenu>\n            </div>\n            <TextInput size=\"sm\">\n              <TextInput.Prefix inner>\n                <TextInput.Icon icon={RiSearchLine} />\n              </TextInput.Prefix>\n              <TextInput.Input type=\"search\" placeholder=\"Search\" aria-label=\"Search\" />\n            </TextInput>\n          </div>\n        </Sidebar.Expanded>\n        <Sidebar.Collapsed>\n          <div className=\"pt-ws-3 pb-ws-7 flex justify-center\">\n            <BrandMark className=\"size-ws-15\" />\n          </div>\n        </Sidebar.Collapsed>\n      </Sidebar.Header>\n\n      {/* A section draws only the slot for the state it is in, so the pages go in both. */}\n      <Sidebar.Section scrollable>{nav}</Sidebar.Section>\n\n      <Sidebar.Footer>\n        <div className=\"gap-ws-9 flex flex-col\">\n          <div className=\"flex flex-col\">{link(helpLink)}</div>\n          {/* On the grey ground the line keeps the nav's inset: run edge to edge, it would stop\n              short of the page and read as broken. */}\n          <div className=\"border-ws-static-base pt-ws-5 border-t\">\n            <Sidebar.Expanded>\n              <DropdownMenu>\n                <DropdownMenu.Trigger asChild>\n                  <button\n                    type=\"button\"\n                    className=\"gap-ws-5 px-ws-5 py-ws-3 rounded-ws-control-lg hover:bg-ws-dynamic-tertiary-alpha-strong-default focus-visible:wds-focus-visible outline-ws-dynamic-primary-strong-default flex w-full items-center text-left\"\n                  >\n                    <PersonAvatar name={account.name} initials={account.initials} color=\"orange\" />\n                    <span className=\"flex min-w-0 flex-1 flex-col\">\n                      <span className=\"typography-label-strong-sm text-ws-static-base truncate\">\n                        {account.name}\n                      </span>\n                      <span className=\"typography-caption-md text-ws-static-subtle truncate\">\n                        {account.email}\n                      </span>\n                    </span>\n                    <RiArrowDownSLine\n                      aria-hidden=\"true\"\n                      className=\"size-ws-9 text-ws-static-strong\"\n                    />\n                  </button>\n                </DropdownMenu.Trigger>\n                <DropdownMenu.Content side=\"top\" align=\"start\" className=\"ws-block-utility w-[14rem]\">\n                  <DropdownMenu.Item>\n                    <ListItem.Prefix>\n                      <RiSettingsLine className=\"size-ws-9\" />\n                    </ListItem.Prefix>\n                    <ListItem.Content>\n                      <ListItem.Label>Account settings</ListItem.Label>\n                    </ListItem.Content>\n                  </DropdownMenu.Item>\n                  <DropdownMenu.Separator />\n                  <DropdownMenu.Item variant=\"danger\">\n                    <ListItem.Prefix>\n                      <RiLogoutBoxRLine className=\"size-ws-9\" />\n                    </ListItem.Prefix>\n                    <ListItem.Content>\n                      <ListItem.Label>Log out</ListItem.Label>\n                    </ListItem.Content>\n                  </DropdownMenu.Item>\n                </DropdownMenu.Content>\n              </DropdownMenu>\n            </Sidebar.Expanded>\n            <Sidebar.Collapsed>\n              <div className=\"flex justify-center\">\n                <PersonAvatar\n                  name={account.name}\n                  initials={account.initials}\n                  color=\"orange\"\n                  title={account.name}\n                  alt={account.name}\n                />\n              </div>\n            </Sidebar.Collapsed>\n          </div>\n        </div>\n      </Sidebar.Footer>\n    </Sidebar>\n  );\n}\n"
    },
    {
      "path": "src/blocks/call/text-link.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/call/text-link.tsx",
      "content": "'use client';\n\n// TODO(custom): a link inside a sentence; Wideset has no inline text link (LinkButton is a control with its own padding and height).\nimport { cn } from '@/lib/wideset/utils';\nimport type { AnchorHTMLAttributes } from 'react';\n\n/**\n * A link inside a sentence, as Figma draws the terms link: the sentence's own type in the primary\n * colour. The underline comes on hover and focus.\n */\nexport function TextLink({\n  className,\n  children,\n  ...props\n}: AnchorHTMLAttributes<HTMLAnchorElement>) {\n  return (\n    <a\n      className={cn(\n        'text-ws-dynamic-primary-default hover:text-ws-dynamic-primary-hover active:text-ws-dynamic-primary-pressed rounded-ws-control-sm focus-visible:wds-focus-visible outline-ws-dynamic-primary-strong-default decoration-from-font hover:underline focus-visible:underline',\n        className,\n      )}\n      {...props}\n    >\n      {children}\n    </a>\n  );\n}\n"
    }
  ],
  "meta": {
    "version": "1.1.0",
    "commit": "a734f9f0"
  }
}
