{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "block-context-menu",
  "type": "registry:block",
  "title": "Context menu",
  "description": "A context menu on a customer row, opened by a right-click, its ⋯ button or Shift F10: open, copy and duplicate, assign and tag in submenus, archive with Undo, and delete last.",
  "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/list-item.json",
    "https://wideset.co/r/modal.json",
    "https://wideset.co/r/sidebar.json",
    "https://wideset.co/r/status-badge.json",
    "https://wideset.co/r/table.json",
    "https://wideset.co/r/tag.json",
    "https://wideset.co/r/text-input.json",
    "https://wideset.co/r/toast.json",
    "https://wideset.co/r/utils.json"
  ],
  "files": [
    {
      "path": "src/blocks/context-menu/brand-mark.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/context-menu/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/context-menu/customer-menu.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/context-menu/customer-menu.tsx",
      "content": "'use client';\n\n// TODO(custom): a context menu that opens where the row was right-clicked; Wideset exports no ContextMenu (Radix ContextMenu), so a DropdownMenu opens from an invisible 0×0 trigger moved to the pointer, or laid over the ⋯ button or the row's first cell.\nimport {\n  type RemixiconComponentType,\n  RiArchiveLine,\n  RiArrowRightLine,\n  RiDeleteBinLine,\n  RiExternalLinkLine,\n  RiFileCopyLine,\n  RiLinkM,\n  RiPriceTag3Line,\n  RiUserSharedLine,\n} from '@remixicon/react';\nimport { DropdownMenu } from '@/components/ui/wideset/dropdown/DropdownMenu';\nimport { ListItem } from '@/components/ui/wideset/list-item/ListItem';\nimport { useRef } from 'react';\n\nimport { type Customer, PEOPLE, type PersonId, type TagId, TAGS } from './data';\nimport { Shortcut, useModifier } from './keyboard-key';\nimport { MenuCheck } from './menu-check';\nimport { MenuChoice } from './menu-choice';\nimport { MenuSub } from './menu-sub';\nimport { PersonAvatar } from './person-avatar';\n\nexport type MenuAction = 'open' | 'open-new-tab' | 'copy-link' | 'duplicate' | 'archive' | 'delete';\n\n/** Where the menu opens from, in viewport pixels, and where the focus goes back to. */\nexport type MenuAnchor = {\n  /** The box the menu hangs from: the pointer (0 by 0), the ⋯ button, or the row's first cell. */\n  x: number;\n  y: number;\n  width: number;\n  height: number;\n  /** `start` from the pointer or the row, `end` under the ⋯ button, as its own menu would. */\n  align: 'start' | 'end';\n  /** The row or the button the menu was opened from; it takes the focus back on close. */\n  origin: HTMLElement | null;\n};\n\n/** The shortcuts the menu shows, which the rows also answer to; `modifier` is ⌘ or Ctrl. */\nconst shortcuts = (modifier: string): Partial<Record<MenuAction, string[]>> => ({\n  open: ['Enter'],\n  'open-new-tab': [modifier, 'Enter'],\n  'copy-link': [modifier, 'C'],\n  duplicate: [modifier, 'D'],\n  archive: ['E'],\n  delete: ['Del'],\n});\n\ntype CustomerMenuProps = {\n  /** The customer the menu is for; kept while the menu closes, so its rows do not change. */\n  customer: Customer;\n  anchor: MenuAnchor;\n  open: boolean;\n  onOpenChange: (open: boolean) => void;\n  onAction: (action: MenuAction) => void;\n  onAssign: (owner: PersonId) => void;\n  onTagChange: (tag: TagId, on: boolean) => void;\n};\n\n/**\n * The actions on one customer, the same menu wherever it opens from: a right-click on the row,\n * its ⋯ button, or Shift F10 and the Menu key on a focused row. Grouped by what they do to the\n * record: go to it, copy it, hand it over or label it, put it away, and Delete last and red.\n * Every row with a shortcut shows its keys, which work on the focused row too. Assign to and Add\n * tag are submenus; the owner is a choice of one, the tags toggle and keep the menu open.\n */\nexport function CustomerMenu({\n  customer,\n  anchor,\n  open,\n  onOpenChange,\n  onAction,\n  onAssign,\n  onTagChange,\n}: CustomerMenuProps) {\n  // Delete opens a dialog: it waits until the menu has closed and given the focus back, so the\n  // dialog returns it to the row too.\n  const afterClose = useRef<MenuAction>(undefined);\n  const keysFor = shortcuts(useModifier());\n\n  const command = (action: MenuAction, Icon: RemixiconComponentType, label: string) => {\n    const keys = keysFor[action];\n    return (\n      <DropdownMenu.Item\n        variant={action === 'delete' ? 'danger' : undefined}\n        onSelect={() => {\n          if (action === 'delete') afterClose.current = action;\n          else onAction(action);\n        }}\n      >\n        <ListItem.Prefix>\n          <Icon className=\"size-ws-9\" />\n        </ListItem.Prefix>\n        <ListItem.Content>\n          <ListItem.Label>{label}</ListItem.Label>\n        </ListItem.Content>\n        {keys && (\n          <ListItem.Suffix>\n            <Shortcut keys={keys} />\n          </ListItem.Suffix>\n        )}\n      </DropdownMenu.Item>\n    );\n  };\n\n  return (\n    <DropdownMenu open={open} onOpenChange={onOpenChange}>\n      <DropdownMenu.Trigger asChild>\n        {/* The anchor's box is the pointer's or the control's, known only at run time. */}\n        <span\n          aria-hidden=\"true\"\n          className=\"pointer-events-none fixed\"\n          style={{ left: anchor.x, top: anchor.y, width: anchor.width, height: anchor.height }}\n        >\n          <span className=\"sr-only\">{`Actions for ${customer.name}`}</span>\n        </span>\n      </DropdownMenu.Trigger>\n      <DropdownMenu.Content\n        side=\"bottom\"\n        align={anchor.align}\n        sideOffset={anchor.width === 0 ? 2 : 4}\n        collisionPadding={12}\n        className=\"ws-block-utility w-[16rem]\"\n        // The browser's own menu must not open over this one.\n        onContextMenu={(event) => event.preventDefault()}\n        onCloseAutoFocus={(event) => {\n          // Closed with a click, the menu has already kept the focus where it is; closed with the\n          // keyboard, the focus goes back to the row or the button, never to the hidden anchor.\n          const byPointer = event.defaultPrevented;\n          event.preventDefault();\n          if (!byPointer && anchor.origin?.isConnected) anchor.origin.focus();\n          const action = afterClose.current;\n          afterClose.current = undefined;\n          if (action) onAction(action);\n        }}\n      >\n        {command('open', RiArrowRightLine, 'Open')}\n        {command('open-new-tab', RiExternalLinkLine, 'Open in new tab')}\n        <DropdownMenu.Separator />\n        {command('copy-link', RiLinkM, 'Copy link')}\n        {command('duplicate', RiFileCopyLine, 'Duplicate')}\n        <DropdownMenu.Separator />\n        <MenuSub icon={RiUserSharedLine} label=\"Assign to\">\n          <DropdownMenu.RadioGroup\n            aria-label=\"Owner\"\n            value={customer.owner}\n            onValueChange={(value) => onAssign(value as PersonId)}\n          >\n            {(Object.keys(PEOPLE) as PersonId[]).map((id) => (\n              <MenuChoice key={id} value={id}>\n                <ListItem.Prefix>\n                  <PersonAvatar\n                    size=\"xs\"\n                    name={PEOPLE[id].name}\n                    initials={PEOPLE[id].initials}\n                    color={PEOPLE[id].color}\n                  />\n                </ListItem.Prefix>\n                <ListItem.Content>\n                  <ListItem.Label>{PEOPLE[id].name}</ListItem.Label>\n                </ListItem.Content>\n              </MenuChoice>\n            ))}\n          </DropdownMenu.RadioGroup>\n        </MenuSub>\n        <MenuSub icon={RiPriceTag3Line} label=\"Add tag\">\n          {TAGS.map((tag) => (\n            <MenuCheck\n              key={tag.id}\n              checked={customer.tags.includes(tag.id)}\n              onCheckedChange={(on) => onTagChange(tag.id, on)}\n            >\n              <ListItem.Content>\n                <ListItem.Label>{tag.label}</ListItem.Label>\n              </ListItem.Content>\n            </MenuCheck>\n          ))}\n        </MenuSub>\n        <DropdownMenu.Separator />\n        {command('archive', RiArchiveLine, 'Archive')}\n        <DropdownMenu.Separator />\n        {command('delete', RiDeleteBinLine, 'Delete')}\n      </DropdownMenu.Content>\n    </DropdownMenu>\n  );\n}\n"
    },
    {
      "path": "src/blocks/context-menu/customers-table.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/context-menu/customers-table.tsx",
      "content": "'use client';\n\nimport { RiMoreFill } from '@remixicon/react';\nimport { cn } from '@/lib/wideset/utils';\nimport { IconButton } from '@/components/ui/wideset/button/IconButton';\nimport { StatusBadge } from '@/components/ui/wideset/status-badge/StatusBadge';\nimport { Table } from '@/components/ui/wideset/table/Table';\nimport { Tag } from '@/components/ui/wideset/tag/Tag';\nimport { type KeyboardEvent, useState } from 'react';\n\nimport type { MenuAction, MenuAnchor } from './customer-menu';\nimport { type Customer, HEALTH, PEOPLE, TAGS } from './data';\nimport { formatActivity, formatDateTime, formatUsd } from './format';\nimport { PersonAvatar } from './person-avatar';\n\ntype CustomersTableProps = {\n  rows: Customer[];\n  /** The row whose menu is open: it keeps the hover fill, so the eye can find it. */\n  menuFor?: string;\n  onOpen: (customer: Customer) => void;\n  onMenu: (customer: Customer, anchor: MenuAnchor) => void;\n  /** A shortcut pressed on a focused row: the same action as the menu's row. */\n  onAction: (customer: Customer, action: MenuAction) => void;\n};\n\n/** A box in viewport pixels, from an element. */\nconst boxOf = (element: Element) => {\n  const { left, top, width, height } = element.getBoundingClientRect();\n  return { x: left, y: top, width, height };\n};\n\n/**\n * The customers, one row each. A click opens the customer; the right button, Shift F10 or the\n * Menu key opens its actions where they were asked for, and the ⋯ at the end of the row opens the\n * same menu for anyone who does not know the other two. The rows are one tab stop: the arrows move\n * between them, and the menu's shortcuts work on the focused one.\n */\nexport function CustomersTable({ rows, menuFor, onOpen, onMenu, onAction }: CustomersTableProps) {\n  const [focused, setFocused] = useState<string>();\n  const tabStop = rows.some((row) => row.id === focused) ? focused : rows[0]?.id;\n\n  const keyDown = (event: KeyboardEvent<HTMLTableRowElement>, customer: Customer) => {\n    // Keys pressed on the ⋯ button are the button's own.\n    if (event.target !== event.currentTarget) return;\n    const row = event.currentTarget;\n    const mod = event.metaKey || event.ctrlKey;\n    const go = (to: Element | null | undefined) => {\n      event.preventDefault();\n      (to as HTMLElement | null)?.focus();\n    };\n    const run = (action: MenuAction) => {\n      event.preventDefault();\n      onAction(customer, action);\n    };\n    const key = event.key.toLowerCase();\n\n    if (event.key === 'ArrowDown') go(row.nextElementSibling);\n    else if (event.key === 'ArrowUp') go(row.previousElementSibling);\n    else if (event.key === 'Home') go(row.parentElement?.firstElementChild);\n    else if (event.key === 'End') go(row.parentElement?.lastElementChild);\n    else if (event.key === 'ContextMenu' || (event.shiftKey && event.key === 'F10')) {\n      event.preventDefault();\n      onMenu(customer, { ...boxOf(row.cells[0]), align: 'start', origin: row });\n    } else if (event.key === 'Enter') run(mod ? 'open-new-tab' : 'open');\n    else if (mod && key === 'c' && !window.getSelection()?.toString()) run('copy-link');\n    else if (mod && key === 'd') run('duplicate');\n    else if (!mod && !event.altKey && key === 'e') run('archive');\n    else if (event.key === 'Delete' || event.key === 'Backspace') run('delete');\n  };\n\n  return (\n    // Narrower than its columns, the table scrolls sideways inside its own area.\n    <div className=\"ws-scrollbar overflow-x-auto\">\n      <Table size=\"md\" interactive className=\"min-w-[60rem] table-fixed\">\n        <Table.Head>\n          <Table.Row>\n            <Table.Header>Company</Table.Header>\n            <Table.Header className=\"w-[11rem]\">Owner</Table.Header>\n            <Table.Header className=\"w-[8rem]\">Health</Table.Header>\n            <Table.Header className=\"w-[13rem]\">Tags</Table.Header>\n            <Table.Header align=\"right\" className=\"w-[7rem]\">\n              MRR\n            </Table.Header>\n            <Table.Header className=\"w-[9.5rem]\">Last activity</Table.Header>\n            <Table.Header className=\"w-[3.5rem]\">\n              <span className=\"sr-only\">Actions</span>\n            </Table.Header>\n          </Table.Row>\n        </Table.Head>\n        <Table.Body>\n          {rows.map((customer) => {\n            const owner = PEOPLE[customer.owner];\n            const health = HEALTH[customer.health];\n            return (\n              <Table.Row\n                key={customer.id}\n                data-customer={customer.id}\n                tabIndex={customer.id === tabStop ? 0 : -1}\n                onFocus={(event) => event.target === event.currentTarget && setFocused(customer.id)}\n                onClick={() => onOpen(customer)}\n                onContextMenu={(event) => {\n                  event.preventDefault();\n                  onMenu(customer, {\n                    x: event.clientX,\n                    y: event.clientY,\n                    width: 0,\n                    height: 0,\n                    align: 'start',\n                    origin: event.currentTarget,\n                  });\n                }}\n                onKeyDown={(event) => keyDown(event, customer)}\n                className={cn(\n                  'focus-visible:wds-focus-visible outline-ws-dynamic-primary-strong-default focus-visible:-outline-offset-2',\n                  customer.id === menuFor && '[&>td]:bg-ws-dynamic-secondary-alpha-hover',\n                )}\n              >\n                <Table.Cell>\n                  <span className=\"text-ws-static-strong block truncate\">{customer.name}</span>\n                  <Table.CellDescription className=\"truncate\">\n                    {customer.domain}\n                  </Table.CellDescription>\n                </Table.Cell>\n                <Table.Cell>\n                  <div className=\"gap-ws-5 flex items-center\">\n                    <PersonAvatar\n                      size=\"sm\"\n                      name={owner.name}\n                      initials={owner.initials}\n                      color={owner.color}\n                    />\n                    <span className=\"truncate\">{owner.name}</span>\n                  </div>\n                </Table.Cell>\n                <Table.Cell>\n                  <StatusBadge size=\"sm\" color={health.color}>\n                    {health.label}\n                  </StatusBadge>\n                </Table.Cell>\n                <Table.Cell>\n                  <div className=\"gap-ws-3 flex flex-wrap\">\n                    {TAGS.filter((tag) => customer.tags.includes(tag.id)).map((tag) => (\n                      <Tag key={tag.id} color=\"secondary\" size=\"sm\">\n                        {tag.label}\n                      </Tag>\n                    ))}\n                  </div>\n                </Table.Cell>\n                <Table.Cell align=\"right\">\n                  <span className=\"typography-number-sm tabular-nums\">\n                    {formatUsd(customer.mrr)}\n                  </span>\n                </Table.Cell>\n                <Table.Cell>\n                  <time\n                    dateTime={customer.lastActivity}\n                    title={formatDateTime(customer.lastActivity)}\n                    className=\"text-ws-static-subtle\"\n                  >\n                    {formatActivity(customer.lastActivity)}\n                  </time>\n                </Table.Cell>\n                {/* The button is its own target: its clicks must not open the row. */}\n                <Table.Cell align=\"right\" onClick={(event) => event.stopPropagation()}>\n                  <IconButton\n                    icon={RiMoreFill}\n                    size=\"xs\"\n                    variant=\"secondary\"\n                    preset=\"ghost\"\n                    aria-label={`Actions for ${customer.name}`}\n                    aria-haspopup=\"menu\"\n                    aria-expanded={customer.id === menuFor}\n                    onClick={(event) =>\n                      onMenu(customer, {\n                        ...boxOf(event.currentTarget),\n                        align: 'end',\n                        origin: event.currentTarget,\n                      })\n                    }\n                  />\n                </Table.Cell>\n              </Table.Row>\n            );\n          })}\n        </Table.Body>\n      </Table>\n    </div>\n  );\n}\n"
    },
    {
      "path": "src/blocks/context-menu/data.ts",
      "type": "registry:file",
      "target": "blocks/wideset/context-menu/data.ts",
      "content": "import {\n  type RemixiconComponentType,\n  RiBankCardLine,\n  RiContactsBook3Fill,\n  RiContactsBook3Line,\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  Lumen Studio's customers in Orbit, the first ten by last activity: who owns each account, how\n  healthy it is, its tags and what it pays a month. The menu opens on Kestrel Analytics, as if it\n  had just been right-clicked. Today is 10 November 2026.\n*/\n\n/** The product is Orbit; the workspace 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  {\n    id: 'customers',\n    label: 'Customers',\n    icon: RiContactsBook3Line,\n    activeIcon: RiContactsBook3Fill,\n  },\n  { id: 'deals', label: 'Deals', icon: RiHandCoinLine },\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\n/** The moment the sample data is seen from, so relative dates stay put. */\nexport const NOW = new Date('2026-11-10T16:00');\n\n/** Where a customer's page lives, for Copy link and Open in new tab. */\nexport const customerUrl = (id: string) => `https://app.orbit.so/lumen-studio/customers/${id}`;\n\nexport type PersonId = 'maya' | 'jonas' | 'priya' | 'tom' | 'elena' | 'daniel' | 'leo' | 'nina';\nexport type Person = { name: string; initials: string; color?: AvatarColor };\n\n/** Everyone who can own an account, the signed-in person first. */\nexport const PEOPLE: Record<PersonId, Person> = {\n  maya: { name: account.name, initials: account.initials, color: 'orange' },\n  jonas: { name: 'Jonas Weber', initials: 'JW' },\n  priya: { name: 'Priya Raman', initials: 'PR' },\n  tom: { name: 'Tom Becker', initials: 'TB' },\n  elena: { name: 'Elena Silva', initials: 'ES' },\n  daniel: { name: 'Daniel Reyes', initials: 'DR' },\n  leo: { name: 'Leo Marchetti', initials: 'LM' },\n  nina: { name: 'Nina Alvarez', initials: 'NA' },\n};\n\nexport type TagId = 'key-account' | 'renewal' | 'expansion' | 'follow-up';\n\n/** The workspace's tags, in the order the menu lists them. */\nexport const TAGS: { id: TagId; label: string }[] = [\n  { id: 'key-account', label: 'Key account' },\n  { id: 'renewal', label: 'Renewal' },\n  { id: 'expansion', label: 'Expansion' },\n  { id: 'follow-up', label: 'Needs follow-up' },\n];\n\nexport type Health = 'healthy' | 'at-risk';\n\n/** Health is a judgement of the account, so each state takes its semantic colour. */\nexport const HEALTH: Record<Health, { label: string; color: 'positive' | 'notice' }> = {\n  healthy: { label: 'Healthy', color: 'positive' },\n  'at-risk': { label: 'At risk', color: 'notice' },\n};\n\nexport type Customer = {\n  /** The domain, for the customers on file; a duplicate gets an id of its own. */\n  id: string;\n  name: string;\n  domain: string;\n  owner: PersonId;\n  health: Health;\n  tags: TagId[];\n  /** Monthly recurring revenue in USD. */\n  mrr: number;\n  /** ISO date and time of the last email, call or product event. */\n  lastActivity: string;\n};\n\nconst customer = (\n  name: string,\n  id: string,\n  owner: PersonId,\n  health: Health,\n  tags: TagId[],\n  mrr: number,\n  lastActivity: string,\n): Customer => ({ id, name, domain: id, owner, health, tags, mrr, lastActivity });\n\n// One customer per line: name, domain, owner, health, tags, MRR, last activity.\n// prettier-ignore\nexport const CUSTOMERS: Customer[] = [\n  customer('Halcyon Freight', 'halcyonfreight.com', 'jonas', 'healthy', ['key-account'], 18500, '2026-11-10T15:42'),\n  customer('Northwind Health', 'northwindhealth.com', 'maya', 'healthy', ['renewal'], 2400, '2026-11-10T13:05'),\n  customer('Kestrel Analytics', 'kestrel.io', 'tom', 'healthy', ['expansion'], 3600, '2026-11-10T11:30'),\n  customer('Cobalt Security', 'cobaltsec.io', 'daniel', 'healthy', ['key-account'], 8200, '2026-11-10T08:40'),\n  customer('Atlas Robotics', 'atlasrobotics.io', 'priya', 'at-risk', [], 1200, '2026-11-09T14:55'),\n  customer('Juniper Legal', 'juniperlegal.com', 'elena', 'healthy', [], 1650, '2026-11-09T09:12'),\n  customer('Tidewater Energy', 'tidewater.energy', 'jonas', 'healthy', ['key-account', 'expansion'], 12800, '2026-11-07T10:15'),\n  customer('Sable Insurance', 'sableinsurance.com', 'nina', 'at-risk', ['renewal'], 9600, '2026-11-06T10:05'),\n  customer('Fernhill Schools', 'fernhillschools.org', 'daniel', 'healthy', [], 890, '2026-11-04T16:30'),\n  customer('Marlow & Finch', 'marlowfinch.com', 'leo', 'at-risk', ['follow-up'], 490, '2026-10-28T17:10'),\n];\n\n/** The row the menu is open on when the screen loads. */\nexport const OPEN_ON = 'kestrel.io';\n"
    },
    {
      "path": "src/blocks/context-menu/delete-dialog.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/context-menu/delete-dialog.tsx",
      "content": "'use client';\n\nimport { Button } from '@/components/ui/wideset/button/Button';\nimport { Modal } from '@/components/ui/wideset/modal/Modal';\n\ntype DeleteDialogProps = {\n  /** Kept while the dialog closes, so its words do not change under the fade. */\n  name: string;\n  open: boolean;\n  onOpenChange: (open: boolean) => void;\n  onConfirm: () => void;\n};\n\n/**\n * Deleting a customer, the one action in the menu that cannot be undone: it asks once, says what\n * goes with the record, and points to Archive, which can. The red button names what it deletes.\n */\nexport function DeleteDialog({ name, open, onOpenChange, onConfirm }: DeleteDialogProps) {\n  return (\n    <Modal open={open} onOpenChange={onOpenChange}>\n      <Modal.Content className=\"ws-block-utility\">\n        <Modal.Header>\n          <Modal.Title>{`Delete ${name}?`}</Modal.Title>\n          <Modal.Description>\n            Its contacts, deals, notes and activity are deleted with it, for everyone in the\n            workspace. To keep them but take it off the list, archive it instead.\n          </Modal.Description>\n        </Modal.Header>\n        <Modal.Footer>\n          <Modal.Close asChild>\n            <Button variant=\"secondary\" preset=\"border\">\n              Cancel\n            </Button>\n          </Modal.Close>\n          <Button\n            variant=\"danger\"\n            onClick={() => {\n              onOpenChange(false);\n              onConfirm();\n            }}\n          >\n            Delete customer\n          </Button>\n        </Modal.Footer>\n      </Modal.Content>\n    </Modal>\n  );\n}\n"
    },
    {
      "path": "src/blocks/context-menu/format.ts",
      "type": "registry:file",
      "target": "blocks/wideset/context-menu/format.ts",
      "content": "import { NOW } from './data';\n\nconst LOCALE = 'en-US';\n\nconst usd = new Intl.NumberFormat(LOCALE, {\n  style: 'currency',\n  currency: 'USD',\n  maximumFractionDigits: 0,\n});\nconst relative = new Intl.RelativeTimeFormat(LOCALE, { numeric: 'auto' });\nconst dayMonth = new Intl.DateTimeFormat(LOCALE, { month: 'short', day: 'numeric' });\nconst full = new Intl.DateTimeFormat(LOCALE, { dateStyle: 'medium', timeStyle: 'short' });\n\nconst DAY = 24 * 60 * 60 * 1000;\nconst startOfDay = (date: Date) => new Date(date.getFullYear(), date.getMonth(), date.getDate());\n\n/** `$18,500`: whole dollars, as MRR is read. */\nexport const formatUsd = (value: number) => usd.format(value);\n\n/** `18 minutes ago`, `Yesterday`, `3 days ago`, then `Oct 28` from a week back. */\nexport function formatActivity(iso: string) {\n  const date = new Date(iso);\n  const days = Math.round((startOfDay(NOW).getTime() - startOfDay(date).getTime()) / DAY);\n  const minutes = Math.round((NOW.getTime() - date.getTime()) / 60000);\n  const text =\n    days >= 7\n      ? dayMonth.format(date)\n      : days > 0\n        ? relative.format(-days, 'day')\n        : minutes < 60\n          ? relative.format(-minutes, 'minute')\n          : relative.format(-Math.floor(minutes / 60), 'hour');\n  return text.charAt(0).toUpperCase() + text.slice(1);\n}\n\n/** `Nov 10, 2026, 3:42 PM`, for the title behind a relative date. */\nexport const formatDateTime = (iso: string) => full.format(new Date(iso));\n"
    },
    {
      "path": "src/blocks/context-menu/index.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/context-menu/index.tsx",
      "content": "'use client';\n\nimport '@/styles/wideset-blocks.css';\n\nimport { RiSearchLine, RiSideBarLine } from '@remixicon/react';\nimport { AppShell } from '@/components/ui/wideset/app-shell/AppShell';\nimport { Breadcrumbs } from '@/components/ui/wideset/breadcrumbs/Breadcrumbs';\nimport { cn } from '@/lib/wideset/utils';\nimport { IconButton } from '@/components/ui/wideset/button/IconButton';\nimport { TextInput } from '@/components/ui/wideset/text-input/TextInput';\nimport { Toast } from '@/components/ui/wideset/toast/Toast';\nimport { ToastProvider, useToast } from '@/components/ui/wideset/toast/Toast.context';\nimport { useId, useLayoutEffect, useRef, useState } from 'react';\n\nimport { CustomerMenu, type MenuAction, type MenuAnchor } from './customer-menu';\nimport { CustomersTable } from './customers-table';\nimport { type Customer, CUSTOMERS, customerUrl, OPEN_ON, PEOPLE, type PersonId } from './data';\nimport { DeleteDialog } from './delete-dialog';\nimport { PageHeader } from './page-header';\nimport { CustomersSidebar } from './sidebar';\n\n/** One column of the page: the header and the body share its edges. */\nconst COLUMN = 'px-ws-14 mx-auto w-full max-w-[80rem]';\n\ntype MenuState = { customer: Customer; anchor: MenuAnchor; open: boolean };\n\n/** Puts a row back before the first of the rows that followed it which is still in the list. */\nfunction restore(all: Customer[], row: Customer, after: Customer[]) {\n  const next = after.find((item) => all.some((other) => other.id === item.id));\n  const at = next ? all.findIndex((item) => item.id === next.id) : all.length;\n  return [...all.slice(0, at), row, ...all.slice(at)];\n}\n\n/**\n * The page inside the card, under the toasts. It holds the customers, so every item in the menu\n * changes the list in one place and says so: the owner and the tags change in the row, a\n * duplicate appears under its original, and an archived row goes with Undo in its toast.\n */\nfunction CustomersPage() {\n  const { showToast, dismissToast } = useToast();\n  const page = useRef<HTMLDivElement>(null);\n  const copies = useRef(0);\n  // The latest assignment of each customer: an older toast's Undo must not undo a newer one.\n  const assignments = useRef(new Map<string, number>());\n  const [rows, setRows] = useState(CUSTOMERS);\n  const [query, setQuery] = useState('');\n  const [menu, setMenu] = useState<MenuState>();\n  // The name stays while the dialog closes, so its words do not vanish under the fade.\n  const [deleting, setDeleting] = useState<{ customer: Customer; open: boolean }>();\n\n  // On load the menu is open on Kestrel Analytics, as if it had just been right-clicked a little\n  // past its name. It is placed once the row has its place on the screen.\n  useLayoutEffect(() => {\n    const row = page.current?.querySelector<HTMLTableRowElement>(`[data-customer=\"${OPEN_ON}\"]`);\n    const customer = CUSTOMERS.find((item) => item.id === OPEN_ON);\n    if (!row || !customer) return;\n    const box = row.getBoundingClientRect();\n    const name = row.cells[0].getBoundingClientRect();\n    setMenu({\n      customer,\n      open: true,\n      anchor: {\n        x: name.left + name.width * 0.6,\n        y: box.top + box.height / 2,\n        width: 0,\n        height: 0,\n        align: 'start',\n        origin: row,\n      },\n    });\n  }, []);\n\n  const words = query.trim().toLowerCase();\n  const shown = rows.filter((customer) =>\n    `${customer.name} ${customer.domain}`.toLowerCase().includes(words),\n  );\n\n  const change = (id: string, patch: Partial<Customer>) =>\n    setRows((all) =>\n      all.map((customer) => (customer.id === id ? { ...customer, ...patch } : customer)),\n    );\n\n  /** A toast whose Undo reverses its own action only, not anything done since. */\n  const toastWithUndo = (content: string, undo: () => void) => {\n    const id = showToast({\n      content,\n      action: (\n        <Toast.Action\n          preset=\"ghost\"\n          onClick={() => {\n            undo();\n            dismissToast(id);\n          }}\n        >\n          Undo\n        </Toast.Action>\n      ),\n    });\n  };\n\n  const act = (customer: Customer, action: MenuAction) => {\n    if (action === 'open') showToast({ content: `Opening ${customer.name}` });\n    if (action === 'open-new-tab') showToast({ content: `${customer.name} opened in a new tab` });\n    if (action === 'copy-link') {\n      // The toast says what happened: copied only once the clipboard took it.\n      Promise.resolve()\n        .then(() => navigator.clipboard.writeText(customerUrl(customer.id)))\n        .then(\n          () => showToast({ content: `Copied the link to ${customer.name}` }),\n          () => showToast({ content: 'Couldn’t copy the link', status: 'error' }),\n        );\n    }\n    if (action === 'duplicate') {\n      const copy = {\n        ...customer,\n        id: `${customer.id}-copy-${++copies.current}`,\n        name: `Copy of ${customer.name}`,\n      };\n      setRows((all) => all.flatMap((item) => (item.id === customer.id ? [item, copy] : [item])));\n      toastWithUndo(`Duplicated ${customer.name}`, () =>\n        setRows((all) => all.filter((item) => item.id !== copy.id)),\n      );\n    }\n    if (action === 'archive') {\n      const after = rows.slice(rows.findIndex((item) => item.id === customer.id) + 1);\n      setRows((all) => all.filter((item) => item.id !== customer.id));\n      toastWithUndo(`Archived ${customer.name}`, () =>\n        setRows((all) => restore(all, customer, after)),\n      );\n    }\n    if (action === 'delete') setDeleting({ customer, open: true });\n  };\n\n  const assign = (customer: Customer, owner: PersonId) => {\n    if (owner === customer.owner) return;\n    change(customer.id, { owner });\n    const token = (assignments.current.get(customer.id) ?? 0) + 1;\n    assignments.current.set(customer.id, token);\n    toastWithUndo(\n      `${customer.name} assigned to ${owner === 'maya' ? 'you' : PEOPLE[owner].name}`,\n      () => {\n        if (assignments.current.get(customer.id) === token)\n          change(customer.id, { owner: customer.owner });\n      },\n    );\n  };\n\n  // The menu reads the row as it is now, so a tag ticked in it shows at once.\n  const menuCustomer = menu && (rows.find((item) => item.id === menu.customer.id) ?? menu.customer);\n\n  return (\n    <div ref={page} className={cn(COLUMN, 'gap-ws-12 pt-ws-14 pb-ws-16 flex flex-col')}>\n      <PageHeader />\n\n      <section aria-label=\"Customers\" className=\"gap-ws-9 flex flex-col\">\n        <TextInput\n          size=\"sm\"\n          className=\"w-[18rem] max-w-full\"\n          value={query}\n          onChange={(event) => setQuery(event.target.value)}\n        >\n          <TextInput.Prefix inner>\n            <TextInput.Icon icon={RiSearchLine} />\n          </TextInput.Prefix>\n          <TextInput.Input\n            type=\"search\"\n            placeholder=\"Search by name or domain\"\n            aria-label=\"Search customers\"\n          />\n          <TextInput.Suffix inner>\n            <TextInput.ClearButton />\n          </TextInput.Suffix>\n        </TextInput>\n        <CustomersTable\n          rows={shown}\n          menuFor={menu?.open ? menu.customer.id : undefined}\n          onOpen={(customer) => act(customer, 'open')}\n          onMenu={(customer, anchor) => setMenu({ customer, anchor, open: true })}\n          onAction={act}\n        />\n      </section>\n\n      {menu && menuCustomer && (\n        <CustomerMenu\n          customer={menuCustomer}\n          anchor={menu.anchor}\n          open={menu.open}\n          onOpenChange={(open) => setMenu({ ...menu, open })}\n          onAction={(action) => act(menuCustomer, action)}\n          onAssign={(owner) => assign(menuCustomer, owner)}\n          onTagChange={(tag, on) =>\n            change(menuCustomer.id, {\n              tags: on\n                ? [...menuCustomer.tags, tag]\n                : menuCustomer.tags.filter((item) => item !== tag),\n            })\n          }\n        />\n      )}\n\n      {deleting && (\n        <DeleteDialog\n          name={deleting.customer.name}\n          open={deleting.open}\n          onOpenChange={(open) => setDeleting({ ...deleting, open })}\n          onConfirm={() => {\n            setRows((all) => all.filter((item) => item.id !== deleting.customer.id));\n            showToast({ content: `Deleted ${deleting.customer.name}` });\n          }}\n        />\n      )}\n    </div>\n  );\n}\n\n/**\n * Context menu (panel over Customers, Inset direction): the actions on one customer, open on load\n * where its row was right-clicked. The page behind is the customers list, kept quiet: a search\n * and a table. The same menu opens from the row's ⋯ button and from Shift F10 or the Menu key on\n * a focused row, and every item in it does what it says.\n */\nexport default function ContextMenuBlock() {\n  const sidebarId = useId();\n  const [collapsed, setCollapsed] = useState(false);\n\n  return (\n    <ToastProvider>\n      <AppShell className=\"ws-block-utility\" direction=\"inset\">\n        <CustomersSidebar 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\n                pulled left so its glyph, not its box, sits 20px from the edge; the crumbs follow\n                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>Customers</Breadcrumbs.Item>\n              </Breadcrumbs>\n            </div>\n          </div>\n\n          {/* The page scrolls inside the card, so the card's corners stay put. */}\n          <div className=\"ws-scrollbar min-h-0 flex-1 overflow-y-auto\">\n            <CustomersPage />\n          </div>\n        </AppShell.Main>\n      </AppShell>\n    </ToastProvider>\n  );\n}\n"
    },
    {
      "path": "src/blocks/context-menu/keyboard-key.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/context-menu/keyboard-key.tsx",
      "content": "'use client';\n\n// TODO(custom): keyboard keys (a key chip, and a shortcut as a row of them); Wideset has no Kbd / shortcut component, so the key is the box of Button `xs` Border drawn by hand.\nimport { type RemixiconComponentType, RiCornerDownLeftLine } from '@remixicon/react';\nimport { cn } from '@/lib/wideset/utils';\nimport { useSyncExternalStore } from 'react';\n\nconst never = () => () => {};\nconst apple = () => (/Mac|iPhone|iPad/.test(navigator.userAgent) ? '⌘' : 'Ctrl');\n\n/**\n * ⌘ on Apple keyboards, Ctrl elsewhere. The server, which has no keyboard, renders Ctrl and the\n * browser corrects it after hydration, so a server-rendered page does not mismatch.\n */\nexport const useModifier = () => useSyncExternalStore(never, apple, () => 'Ctrl');\n\n/** Keys drawn as a glyph rather than spelled out. */\nconst GLYPHS: Record<string, RemixiconComponentType> = { Enter: RiCornerDownLeftLine };\n\n/**\n * A key as a `kbd`, 24px high, copied from the command palette's hints. An icon key names itself\n * for screen readers.\n */\nexport function Key({\n  icon: Icon,\n  name,\n  children,\n}: {\n  icon?: RemixiconComponentType;\n  name?: string;\n  children?: string;\n}) {\n  return (\n    <kbd\n      className={cn(\n        'font-ws-body border-ws-dynamic-secondary-default bg-ws-static-highlight-subtle shadow-ws-controls-control rounded-ws-control-md h-ws-12 typography-caption-strong-md text-ws-dynamic-secondary-default flex shrink-0 items-center justify-center border',\n        Icon || children?.length === 1 ? 'min-w-ws-12' : 'px-ws-5',\n      )}\n    >\n      {Icon ? (\n        <>\n          <Icon aria-hidden=\"true\" className=\"size-ws-8 shrink-0\" />\n          <span className=\"sr-only\">{name}</span>\n        </>\n      ) : (\n        children\n      )}\n    </kbd>\n  );\n}\n\n/**\n * A shortcut as the keys pressed together, on the right of a menu row. The keys are text in the\n * row, so a screen reader reads them after its label.\n */\nexport function Shortcut({ keys }: { keys: string[] }) {\n  return (\n    <span className=\"gap-ws-2 flex\">\n      {keys.map((key) =>\n        GLYPHS[key] ? <Key key={key} icon={GLYPHS[key]} name={key} /> : <Key key={key}>{key}</Key>,\n      )}\n    </span>\n  );\n}\n"
    },
    {
      "path": "src/blocks/context-menu/menu-check.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/context-menu/menu-check.tsx",
      "content": "'use client';\n\n// TODO(custom): a menu item that toggles on and off, ticked while on; Wideset exports DropdownMenu.CheckboxItem as a bare Radix part with no styling.\nimport { DropdownMenu } from '@/components/ui/wideset/dropdown/DropdownMenu';\nimport { ListItem } from '@/components/ui/wideset/list-item/ListItem';\nimport type { ReactNode } from 'react';\n\n/**\n * One of several things that can each be on (a tag on a customer): drawn as `DropdownMenu.Item`\n * draws a row, with `ListItem`'s own tick on the ones that are on, and announced as a checkbox\n * item. Toggling keeps the menu open, so several can be set in one go.\n */\nexport function MenuCheck({\n  checked,\n  onCheckedChange,\n  children,\n}: {\n  checked: boolean;\n  onCheckedChange: (checked: boolean) => void;\n  children: ReactNode;\n}) {\n  return (\n    <DropdownMenu.CheckboxItem\n      checked={checked}\n      onCheckedChange={onCheckedChange}\n      onSelect={(event) => event.preventDefault()}\n      asChild\n      className=\"min-h-ws-14 outline-hidden\"\n    >\n      <ListItem>{children}</ListItem>\n    </DropdownMenu.CheckboxItem>\n  );\n}\n"
    },
    {
      "path": "src/blocks/context-menu/menu-choice.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/context-menu/menu-choice.tsx",
      "content": "'use client';\n\n// TODO(custom): a menu item that is one choice of several, ticked when picked; Wideset exports DropdownMenu.RadioGroup and RadioItem as bare Radix parts with no styling.\nimport { DropdownMenu } from '@/components/ui/wideset/dropdown/DropdownMenu';\nimport { ListItem } from '@/components/ui/wideset/list-item/ListItem';\nimport type { ReactNode } from 'react';\n\n/**\n * One choice in a `DropdownMenu.RadioGroup` (a workspace, a theme, an account): drawn as\n * `DropdownMenu.Item` draws a row, with `ListItem`'s own tick and selected fill on the one picked,\n * and announced as a radio item, so a screen reader hears which one is on.\n */\nexport function MenuChoice({\n  value,\n  onSelect,\n  children,\n}: {\n  value: string;\n  onSelect?: () => void;\n  children: ReactNode;\n}) {\n  return (\n    <DropdownMenu.RadioItem\n      value={value}\n      onSelect={onSelect}\n      asChild\n      className=\"min-h-ws-14 outline-hidden\"\n    >\n      <ListItem>{children}</ListItem>\n    </DropdownMenu.RadioItem>\n  );\n}\n"
    },
    {
      "path": "src/blocks/context-menu/menu-sub.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/context-menu/menu-sub.tsx",
      "content": "'use client';\n\n// TODO(custom): a submenu (a row with the current value and a chevron, its own panel beside the menu); Wideset exports DropdownMenu.Sub, SubTrigger and SubContent as bare Radix parts with no styling.\nimport { type RemixiconComponentType, RiArrowRightSLine } from '@remixicon/react';\nimport { DropdownMenu } from '@/components/ui/wideset/dropdown/DropdownMenu';\nimport { ListItem } from '@/components/ui/wideset/list-item/ListItem';\nimport type { ReactNode } from 'react';\n\n/** `DropdownMenu.Content`'s surface, copied so the submenu is drawn as the menu it opens from. */\nconst PANEL =\n  'min-w-ws-28 rounded-ws-container-sm p-ws-3 bg-ws-static-overlay text-ws-dynamic-secondary-default shadow-ws-medium z-ws-popout outline-hidden';\n\ntype MenuSubProps = {\n  icon: RemixiconComponentType;\n  label: string;\n  /** What is chosen inside now, shown quietly before the chevron (\"Match system\"). */\n  value?: string;\n  /** Where the panel portals to: the menu's own container, so it follows the screen's theme. */\n  container?: HTMLElement | null;\n  children: ReactNode;\n};\n\n/**\n * A row that opens a second menu beside the first: hover, → or Enter opens it, ← or Esc goes back.\n * The row is a `ListItem` like every other item, with the choice it holds and a chevron after the\n * label; while its panel is open it keeps the hover fill, so the eye can follow where it came from.\n */\nexport function MenuSub({ icon: Icon, label, value, container, children }: MenuSubProps) {\n  return (\n    <DropdownMenu.Sub>\n      <DropdownMenu.SubTrigger\n        asChild\n        className=\"min-h-ws-14 data-[state=open]:bg-ws-dynamic-secondary-alpha-hover outline-hidden\"\n      >\n        <ListItem>\n          <ListItem.Prefix>\n            <Icon className=\"size-ws-9\" />\n          </ListItem.Prefix>\n          <ListItem.Content>\n            <ListItem.Label>{label}</ListItem.Label>\n          </ListItem.Content>\n          <ListItem.Suffix>\n            {value && <span className=\"text-ws-static-subtle\">{value}</span>}\n            <RiArrowRightSLine aria-hidden=\"true\" className=\"size-ws-9\" />\n          </ListItem.Suffix>\n        </ListItem>\n      </DropdownMenu.SubTrigger>\n      <DropdownMenu.Portal container={container ?? undefined}>\n        <DropdownMenu.SubContent\n          sideOffset={8}\n          alignOffset={-4}\n          collisionPadding={12}\n          className={['ws-block-utility', (PANEL)].filter(Boolean).join(' ')}\n        >\n          {children}\n        </DropdownMenu.SubContent>\n      </DropdownMenu.Portal>\n    </DropdownMenu.Sub>\n  );\n}\n"
    },
    {
      "path": "src/blocks/context-menu/page-header.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/context-menu/page-header.tsx",
      "content": "'use client';\n\n// TODO(custom): page header (title, a line of description, the actions on the right); no PageHeader in Wideset.\nimport { RiAddLine } from '@remixicon/react';\nimport { Button } from '@/components/ui/wideset/button/Button';\n\nimport { workspace } from './data';\n\n/**\n * The page's title, one line saying what the list holds, and its action. Add customer is a\n * secondary button here: with the menu open, the menu is the thing to read, and a filled button\n * would be heavier than it.\n */\nexport function PageHeader() {\n  return (\n    <header className=\"gap-ws-12 flex flex-wrap items-center justify-between\">\n      <div className=\"gap-ws-2 flex min-w-0 flex-col\">\n        <h1 className=\"typography-title-md text-ws-static-strong\">Customers</h1>\n        <p className=\"typography-body-md text-ws-static-subtle\">\n          The companies {workspace.name} sells to, who owns each one and how it is doing.\n        </p>\n      </div>\n      <Button size=\"sm\" variant=\"secondary\" preset=\"border\">\n        <Button.Icon icon={RiAddLine} />\n        Add customer\n      </Button>\n    </header>\n  );\n}\n"
    },
    {
      "path": "src/blocks/context-menu/people.assets.ts",
      "type": "registry:file",
      "target": "blocks/wideset/context-menu/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/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW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h2wkivLtrGlPSR2Bo98DEmU2B5NgnP71JIVui2tJLKMuEYKzuo/2rZJJ716Yp1WLXX1UdY23Ktt6Mek81oU8rKz7VoWEJ7ZNe/etSCd/KpGpH3PBxhLzakKQCk7EEbGuW640MzborlygIUlKVfmND9IHmPL6V1fJQyk9zWJ0duXGWwtIU2tJCge+akY2S9DhlPx98hZ2DVmVFHHXsfYZ/9k=',\n};\n"
    },
    {
      "path": "src/blocks/context-menu/person-avatar.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/context-menu/person-avatar.tsx",
      "content": "'use client';\n\nimport type { AvatarColor } from '@/components/ui/wideset/avatar/Avatar.colors';\nimport type { AvatarProps } from '@/components/ui/wideset/avatar/Avatar.types';\nimport { Avatar } from '@/components/ui/wideset/avatar/Avatar';\n\nimport { PHOTOS } from './people.assets';\n\ntype PersonAvatarProps = Pick<\n  AvatarProps,\n  'size' | 'status' | 'className' | 'title' | 'aria-hidden'\n> & {\n  /** The person's full name: the key their photo is stored 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 there is one, their initials otherwise, which is also what\n * shows if the photo fails to load. The one place the block makes that choice, so a list that\n * mixes photos and initials is still drawn the same way everywhere.\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/context-menu/sidebar.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/context-menu/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 CustomersSidebar(\n  props: Pick<SidebarProps, 'id' | 'collapsed' | 'onCollapsedChange'>,\n) {\n  const [active, setActive] = useState('customers');\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                  alt={account.name}\n                  title={account.name}\n                />\n              </div>\n            </Sidebar.Collapsed>\n          </div>\n        </div>\n      </Sidebar.Footer>\n    </Sidebar>\n  );\n}\n"
    }
  ],
  "meta": {
    "version": "1.1.0",
    "commit": "a734f9f0"
  }
}
