{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "block-home",
  "type": "registry:block",
  "title": "Home",
  "description": "A workspace home on a raised page: today’s tasks to tick off with their progress, the deals to move this week, the next meetings and recently opened records.",
  "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/card.json",
    "https://wideset.co/r/checkbox.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/progress-bar.json",
    "https://wideset.co/r/sidebar.json",
    "https://wideset.co/r/status-badge.json",
    "https://wideset.co/r/table.json",
    "https://wideset.co/r/text-input.json",
    "https://wideset.co/r/utils.json"
  ],
  "files": [
    {
      "path": "src/blocks/home/brand-mark.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/home/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/home/data.ts",
      "type": "registry:file",
      "target": "blocks/wideset/home/data.ts",
      "content": "import {\n  type RemixiconComponentType,\n  RiBankCardLine,\n  RiContactsBook3Line,\n  RiHandCoinLine,\n  RiHome5Fill,\n  RiHome5Line,\n  RiInbox2Line,\n  RiKey2Line,\n  RiLineChartLine,\n  RiPieChart2Line,\n  RiPlugLine,\n  RiQuestionLine,\n  RiSettings3Line,\n  RiTeamLine,\n} from '@remixicon/react';\n\n/*\n  Maya's Tuesday in Orbit. The lists tell one story: the quote she owes Halcyon Freight is a task\n  and that deal's next step, the pricing review is a task, a meeting and Northwind Health's next\n  step, and Thursday's demo is on the calendar and in the deals.\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 = {\n  name: 'Maya Okafor',\n  firstName: 'Maya',\n  email: 'maya@lumenstudio.co',\n  initials: 'MO',\n};\n\n/** The sample is frozen on this day. */\nexport const TODAY = '2026-11-10';\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, activeIcon: RiHome5Fill },\n  { id: 'inbox', label: 'Inbox', icon: RiInbox2Line },\n  { id: 'customers', label: 'Customers', icon: RiContactsBook3Line },\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\nexport type Task = {\n  id: string;\n  title: string;\n  /** The customer it is about, when it is about one. */\n  customer?: string;\n  /** When it is due, as a local date and time; a task added on the page has only today. */\n  due?: string;\n};\n\n/** Today's tasks, earliest first; the first was due yesterday. */\nexport const tasks: Task[] = [\n  {\n    id: 'redlines',\n    title: 'Send the contract redlines back',\n    customer: 'Juniper Legal',\n    due: '2026-11-09T16:00',\n  },\n  {\n    id: 'attendees',\n    title: 'Confirm who is joining Thursday’s demo',\n    customer: 'Kestrel Analytics',\n    due: '2026-11-10T08:30',\n  },\n  { id: 'forecast', title: 'Update the November forecast', due: '2026-11-10T09:00' },\n  {\n    id: 'discount',\n    title: 'Approve the renewal discount',\n    customer: 'Marlow & Finch',\n    due: '2026-11-10T09:00',\n  },\n  {\n    id: 'quote',\n    title: 'Send the revised quote',\n    customer: 'Halcyon Freight',\n    due: '2026-11-10T10:00',\n  },\n  {\n    id: 'pricing',\n    title: 'Prepare the pricing review',\n    customer: 'Northwind Health',\n    due: '2026-11-10T13:30',\n  },\n  {\n    id: 'notes',\n    title: 'Log notes from the discovery call',\n    customer: 'Atlas Robotics',\n    due: '2026-11-10T16:30',\n  },\n];\n\n/** The tasks already ticked off when the page opens, in the order they were done. */\nexport const doneAtStart = ['forecast', 'attendees', 'discount'];\n\nexport type Deal = {\n  id: string;\n  customer: string;\n  stage: 'Discovery' | 'Proposal' | 'Negotiation' | 'Commit';\n  amount: number;\n  nextStep: string;\n};\n\n/** Maya's open deals whose next step falls this week, soonest first. */\nexport const deals: Deal[] = [\n  {\n    id: 'halcyon',\n    customer: 'Halcyon Freight',\n    stage: 'Negotiation',\n    amount: 24_000,\n    nextStep: 'Send the revised quote today',\n  },\n  {\n    id: 'northwind',\n    customer: 'Northwind Health',\n    stage: 'Proposal',\n    amount: 18_500,\n    nextStep: 'Walk through the pricing this afternoon',\n  },\n  {\n    id: 'kestrel',\n    customer: 'Kestrel Analytics',\n    stage: 'Discovery',\n    amount: 9_600,\n    nextStep: 'Run the product demo on Thursday',\n  },\n  {\n    id: 'cobalt',\n    customer: 'Cobalt Security',\n    stage: 'Commit',\n    amount: 21_000,\n    nextStep: 'Get the order form signed by Friday',\n  },\n];\n\nexport type Meeting = {\n  id: string;\n  title: string;\n  customer: string;\n  /** When it starts, as a local date and time. */\n  start: string;\n  minutes: number;\n};\n\n/** The next meetings on Maya's calendar. */\nexport const meetings: Meeting[] = [\n  {\n    id: 'atlas',\n    title: 'Discovery call',\n    customer: 'Atlas Robotics',\n    start: '2026-11-10T11:30',\n    minutes: 45,\n  },\n  {\n    id: 'northwind',\n    title: 'Pricing review',\n    customer: 'Northwind Health',\n    start: '2026-11-10T14:00',\n    minutes: 30,\n  },\n  {\n    id: 'juniper',\n    title: 'Contract walkthrough',\n    customer: 'Juniper Legal',\n    start: '2026-11-11T10:00',\n    minutes: 60,\n  },\n  {\n    id: 'kestrel',\n    title: 'Product demo',\n    customer: 'Kestrel Analytics',\n    start: '2026-11-12T15:00',\n    minutes: 45,\n  },\n];\n\nexport type RecordKind = 'Customer' | 'Deal' | 'Report';\n\n/** The records Maya opened last, newest first. */\nexport const recentRecords: { id: string; kind: RecordKind; name: string }[] = [\n  { id: 'halcyon', kind: 'Customer', name: 'Halcyon Freight' },\n  { id: 'halcyon-annual', kind: 'Deal', name: 'Annual plan, 120 seats' },\n  { id: 'q4-pipeline', kind: 'Report', name: 'Q4 pipeline review' },\n  { id: 'tidewater', kind: 'Customer', name: 'Tidewater Energy' },\n  { id: 'kestrel-team', kind: 'Deal', name: 'Team plan, 45 seats' },\n];\n"
    },
    {
      "path": "src/blocks/home/deals-table.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/home/deals-table.tsx",
      "content": "'use client';\n\n// TODO(custom): whole-row link done with a stretched <a>; Table has no row link.\nimport { Card } from '@/components/ui/wideset/card/Card';\nimport { StatusBadge } from '@/components/ui/wideset/status-badge/StatusBadge';\nimport { type StatusBadgeProps } from '@/components/ui/wideset/status-badge/StatusBadge.types';\nimport { Table } from '@/components/ui/wideset/table/Table';\nimport { useId } from 'react';\n\nimport type { Deal } from './data';\nimport { formatUsd } from './format';\n\n/** A stage in the colour of what it says about the deal, the same in every block. */\nconst STAGE_COLOR: Record<Deal['stage'], StatusBadgeProps['color']> = {\n  Discovery: 'neutral',\n  Proposal: 'info',\n  Negotiation: 'notice',\n  Commit: 'positive',\n};\n\n/**\n * In a card, the table runs edge to edge: the outer cells are inset like the card's title, and\n * the last row leaves its line to the card's border.\n */\nconst IN_CARD =\n  '[&_tr>*:first-child]:pl-ws-11 [&_tr>*:last-child]:pr-ws-11 [&_tbody>tr:last-child>*]:border-b-0';\n\n/**\n * The deals whose next step falls this week, soonest first: who, where the deal stands, what to\n * do next, and what it is worth. A list to work through, so it sits in a card like the tasks. A\n * row opens its deal from anywhere on it.\n */\nexport function DealsTable({ deals }: { deals: Deal[] }) {\n  const titleId = useId();\n\n  return (\n    <Card role=\"region\" aria-labelledby={titleId}>\n      <Card.Header>\n        <h2 id={titleId} className=\"typography-label-strong-md text-ws-static-strong\">\n          Deals to move this week\n        </h2>\n      </Card.Header>\n      {/* Straight in the card, not in Card.Content, whose scrollbar gutter would stop the lines\n          short. Auto layout: the short columns keep to one line and their width, the next step\n          takes the rest. */}\n      <Table interactive aria-labelledby={titleId} className={IN_CARD}>\n        <Table.Head>\n          <Table.Row>\n            <Table.Header className=\"whitespace-nowrap\">Customer</Table.Header>\n            <Table.Header>Stage</Table.Header>\n            <Table.Header className=\"w-full\">Next step</Table.Header>\n            <Table.Header align=\"right\">Amount</Table.Header>\n          </Table.Row>\n        </Table.Head>\n        <Table.Body>\n          {deals.map((deal) => (\n            // The customer's link stretches over the whole row: one target, the hover on every\n            // cell.\n            <Table.Row key={deal.id} className=\"relative\">\n              <Table.Cell className=\"whitespace-nowrap\">\n                <a\n                  href={`#deal-${deal.id}`}\n                  className=\"text-ws-static-strong focus-visible:wds-focus-visible outline-ws-dynamic-primary-strong-default after:inset-ws-0 after:absolute\"\n                >\n                  {deal.customer}\n                </a>\n              </Table.Cell>\n              <Table.Cell>\n                <StatusBadge color={STAGE_COLOR[deal.stage]}>{deal.stage}</StatusBadge>\n              </Table.Cell>\n              <Table.Cell>{deal.nextStep}</Table.Cell>\n              <Table.Cell align=\"right\">\n                <span className=\"text-ws-static-strong tabular-nums\">{formatUsd(deal.amount)}</span>\n              </Table.Cell>\n            </Table.Row>\n          ))}\n        </Table.Body>\n      </Table>\n    </Card>\n  );\n}\n"
    },
    {
      "path": "src/blocks/home/format.ts",
      "type": "registry:file",
      "target": "blocks/wideset/home/format.ts",
      "content": "// One locale and currency for the whole screen; swap them for the user's.\nconst LOCALE = 'en-US';\n\nconst usd = new Intl.NumberFormat(LOCALE, {\n  style: 'currency',\n  currency: 'USD',\n  maximumFractionDigits: 0,\n});\n// Days are calendar days (`2026-11-10`), parsed as UTC midnight: format them in UTC too.\nconst longDay = new Intl.DateTimeFormat(LOCALE, {\n  weekday: 'long',\n  month: 'long',\n  day: 'numeric',\n  timeZone: 'UTC',\n});\nconst shortDay = new Intl.DateTimeFormat(LOCALE, {\n  weekday: 'short',\n  month: 'short',\n  day: 'numeric',\n  timeZone: 'UTC',\n});\n// Times are local (`2026-11-10T11:30`, no zone): parsed and formatted in the reader's zone, so\n// the clock on screen is the one in the data.\nconst time = new Intl.DateTimeFormat(LOCALE, { hour: 'numeric', minute: '2-digit' });\nconst relative = new Intl.RelativeTimeFormat(LOCALE, { numeric: 'auto' });\n\nconst DAY = 86_400_000;\n\nexport const formatUsd = (value: number) => usd.format(value);\n/** Tuesday, November 10. */\nexport const formatLongDay = (iso: string) => longDay.format(new Date(iso));\n/** 11:30 AM. */\nexport const formatTime = (iso: string) => time.format(new Date(iso));\n\n/** A day as the week reads it: `Today`, `Tomorrow`, then `Thu, Nov 12`. */\nexport function formatDay(iso: string, today: string) {\n  const day = iso.slice(0, 10);\n  const away = (Date.parse(day) - Date.parse(today)) / DAY;\n  if (away < 0 || away > 1) return shortDay.format(new Date(day));\n  const text = relative.format(away, 'day');\n  return text.charAt(0).toUpperCase() + text.slice(1);\n}\n"
    },
    {
      "path": "src/blocks/home/index.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/home/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 { cn } from '@/lib/wideset/utils';\nimport { IconButton } from '@/components/ui/wideset/button/IconButton';\nimport { useId, useState } from 'react';\n\nimport {\n  account,\n  deals,\n  doneAtStart,\n  meetings,\n  recentRecords,\n  type Task,\n  tasks as tasksAtStart,\n  TODAY,\n} from './data';\nimport { DealsTable } from './deals-table';\nimport { formatLongDay } from './format';\nimport { RecentRecords } from './recent-records';\nimport { HomeSidebar } from './sidebar';\nimport { TaskList } from './task-list';\nimport { UpcomingMeetings } from './upcoming-meetings';\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\n/**\n * Home (Inset direction): the first page after sign-in, on the raised page beside the workspace\n * sidebar. It answers \"what do I do today\". What is there to act on sits in cards in the main\n * column: the task list first and heaviest, the deals to move this week under it. What is only\n * there to know stays on the white beside them, without a box: what is coming up and the way\n * back to recent records. No key figures: those are the dashboard's.\n */\nexport default function Home() {\n  const sidebarId = useId();\n  const [collapsed, setCollapsed] = useState(false);\n  const [tasks, setTasks] = useState<Task[]>(tasksAtStart);\n  const [done, setDone] = useState(doneAtStart);\n\n  const mark = (id: string, value: boolean) =>\n    setDone((current) => (value ? [...current, id] : current.filter((item) => item !== id)));\n  const add = (title: string) =>\n    setTasks((current) => [...current, { id: `added-${current.length}`, title }]);\n\n  return (\n    <AppShell className=\"ws-block-utility\" direction=\"inset\">\n      <HomeSidebar 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>Home</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          <div className={cn(COLUMN, 'gap-ws-12 pt-ws-14 pb-ws-16 flex flex-col')}>\n            <header className=\"gap-ws-2 flex flex-col\">\n              <h1 className=\"typography-title-md text-ws-static-strong\">\n                Good morning, {account.firstName}\n              </h1>\n              <p className=\"typography-body-md text-ws-static-subtle\">\n                {formatLongDay(TODAY)}. Your tasks, deals and meetings for the day.\n              </p>\n            </header>\n\n            <div className=\"gap-ws-16 grid grid-cols-1 items-start lg:grid-cols-[minmax(0,1fr)_18rem]\">\n              <div className=\"gap-ws-12 flex min-w-0 flex-col\">\n                <TaskList tasks={tasks} done={done} today={TODAY} onDoneChange={mark} onAdd={add} />\n                <DealsTable deals={deals} />\n              </div>\n\n              {/* Its first title stands on the line of the first card's title. */}\n              <aside\n                aria-label=\"Calendar and recent records\"\n                className=\"gap-ws-16 lg:pt-ws-9 flex flex-col\"\n              >\n                <UpcomingMeetings meetings={meetings} today={TODAY} />\n                <RecentRecords records={recentRecords} />\n              </aside>\n            </div>\n          </div>\n        </div>\n      </AppShell.Main>\n    </AppShell>\n  );\n}\n"
    },
    {
      "path": "src/blocks/home/people.assets.ts",
      "type": "registry:file",
      "target": "blocks/wideset/home/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/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9A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NJ9NrBoZClwGC7NcG1cp47nFDyz4D0GKmaipYwSTRak/UPSrULGjQOUG/nK3GoV7gYdtvIbRKIyFHcoZJNKEMJSg4AAr2PqA8AK6+5sVHb/5F01E4ln2pp9gpWgHcOePCqlvlt/Spqmx/lq5TVzSXgqYIoOCEb1HyA/9NVxrVjfHafA+rG/2JoVZAVmto141vcKM+FtjP//Z',\n};\n"
    },
    {
      "path": "src/blocks/home/person-avatar.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/home/person-avatar.tsx",
      "content": "'use client';\n\nimport { Avatar } from '@/components/ui/wideset/avatar/Avatar';\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' | 'color' | 'className' | 'style' | 'title' | 'aria-hidden'\n> & {\n  name: string;\n  initials: string;\n  /** The photo's text: empty beside the person's name, their name where the avatar stands alone. */\n  alt?: string;\n};\n\n/**\n * A person's avatar: their photo when `people.assets.ts` has one, with the initials as its\n * fallback, otherwise the initials on their colour. Every place that draws a person uses it, so\n * someone has the same face across the screen and photos mix with initials as in a real product.\n */\nexport function PersonAvatar({ name, initials, color, alt = '', ...props }: PersonAvatarProps) {\n  const photo = PHOTOS[name];\n  return photo ? (\n    <Avatar src={photo} alt={alt} initials={initials} {...props} />\n  ) : (\n    <Avatar initials={initials} color={color} {...props} />\n  );\n}\n"
    },
    {
      "path": "src/blocks/home/recent-records.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/home/recent-records.tsx",
      "content": "'use client';\n\n// TODO(custom): record link row (icon, name, kind); ListItem is a div with no link of its own, ActionTile is a bordered tile.\nimport {\n  type RemixiconComponentType,\n  RiContactsBook3Line,\n  RiHandCoinLine,\n  RiPieChart2Line,\n} from '@remixicon/react';\nimport { useId } from 'react';\n\nimport type { RecordKind } from './data';\n\n// The icon of the page the record lives on, as the sidebar draws it.\nconst ICONS: Record<RecordKind, RemixiconComponentType> = {\n  Customer: RiContactsBook3Line,\n  Deal: RiHandCoinLine,\n  Report: RiPieChart2Line,\n};\n\ntype RecentRecordsProps = { records: { id: string; kind: RecordKind; name: string }[] };\n\n/**\n * The records opened last, newest first: a way back to where the work was. Each row is one link\n * across its width; the fill on hover reaches past the text so the icons stay on the column's\n * edge.\n */\nexport function RecentRecords({ records }: RecentRecordsProps) {\n  const titleId = useId();\n\n  return (\n    <section aria-labelledby={titleId} className=\"gap-ws-7 flex flex-col\">\n      <h2 id={titleId} className=\"typography-label-strong-md text-ws-static-strong\">\n        Recently opened\n      </h2>\n      <ul className=\"-mx-ws-5 flex flex-col\">\n        {records.map(({ id, kind, name }) => {\n          const Icon = ICONS[kind];\n          return (\n            <li key={id}>\n              <a\n                href={`#${kind.toLowerCase()}-${id}`}\n                className=\"h-ws-15 gap-ws-5 px-ws-5 rounded-ws-control-lg hover:bg-ws-dynamic-secondary-alpha-hover focus-visible:wds-focus-visible outline-ws-dynamic-primary-strong-default flex items-center\"\n              >\n                <Icon aria-hidden=\"true\" className=\"size-ws-9 text-ws-static-subtle shrink-0\" />\n                <span className=\"typography-label-sm text-ws-static-strong min-w-0 flex-1 truncate\">\n                  {name}\n                </span>\n                <span className=\"typography-label-sm text-ws-static-subtle\">{kind}</span>\n              </a>\n            </li>\n          );\n        })}\n      </ul>\n    </section>\n  );\n}\n"
    },
    {
      "path": "src/blocks/home/sidebar.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/home/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 HomeSidebar(props: Pick<SidebarProps, 'id' | 'collapsed' | 'onCollapsedChange'>) {\n  const [active, setActive] = useState('home');\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"
    },
    {
      "path": "src/blocks/home/task-list.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/home/task-list.tsx",
      "content": "'use client';\n\n// TODO(custom): task checklist (progress, rows that tick off into a Done group, an add row); Wideset has no checklist or task row.\nimport { RiAddLine } from '@remixicon/react';\nimport { Card } from '@/components/ui/wideset/card/Card';\nimport { Checkbox } from '@/components/ui/wideset/checkbox/Checkbox';\nimport { cn } from '@/lib/wideset/utils';\nimport { ProgressBar } from '@/components/ui/wideset/progress-bar/ProgressBar';\nimport { StatusBadge } from '@/components/ui/wideset/status-badge/StatusBadge';\nimport { TextInput } from '@/components/ui/wideset/text-input/TextInput';\nimport { type FormEvent, useEffect, useId, useRef, useState } from 'react';\n\nimport type { Task } from './data';\nimport { formatTime } from './format';\n\n/** A row of the list: 44px, a step taller than the table's under it, inset like the card's title. */\nconst ROW = 'h-ws-17 gap-ws-7 px-ws-11 flex items-center';\n/** A line between rows; the card's header and border close the list, so no line doubles them. */\nconst DIVIDER = 'border-ws-static-base border-t first:border-t-0';\n\ntype TaskRowProps = {\n  task: Task;\n  done: boolean;\n  /** Due before today and still open: the one judgement in the list, so the one colour. */\n  overdue: boolean;\n  checkboxId: string;\n  onDoneChange: (done: boolean) => void;\n};\n\n/**\n * One task. The row does one thing, so the whole row is the checkbox's label: one target, the\n * hover across it. Done, it goes quiet and struck through.\n */\nfunction TaskRow({ task, done, overdue, checkboxId, onDoneChange }: TaskRowProps) {\n  const titleId = `${checkboxId}-title`;\n\n  return (\n    <li className={DIVIDER}>\n      <label\n        htmlFor={checkboxId}\n        className={cn(ROW, 'hover:bg-ws-dynamic-secondary-alpha-hover cursor-pointer')}\n      >\n        <Checkbox\n          id={checkboxId}\n          checked={done}\n          onCheckedChange={(checked) => onDoneChange(checked === true)}\n          aria-labelledby={titleId}\n        />\n        <span\n          id={titleId}\n          className={cn(\n            'min-w-0 flex-1 truncate',\n            done\n              ? 'typography-label-sm text-ws-static-subtle line-through'\n              : 'typography-label-strong-sm text-ws-static-strong',\n          )}\n        >\n          {task.title}\n        </span>\n        <span className=\"typography-label-sm text-ws-static-subtle w-[10rem] shrink-0 truncate\">\n          {task.customer}\n        </span>\n        <span className=\"flex w-[5rem] shrink-0 justify-end\">\n          {overdue ? (\n            <StatusBadge size=\"sm\" color=\"negative\">\n              Overdue\n            </StatusBadge>\n          ) : (\n            <span className=\"typography-label-sm text-ws-static-subtle tabular-nums\">\n              {task.due ? formatTime(task.due) : 'Today'}\n            </span>\n          )}\n        </span>\n      </label>\n    </li>\n  );\n}\n\ntype TaskListProps = {\n  tasks: Task[];\n  /** Ids of the tasks done, in the order they were ticked. */\n  done: string[];\n  /** The calendar day it is (`2026-11-10`). */\n  today: string;\n  onDoneChange: (id: string, done: boolean) => void;\n  onAdd: (title: string) => void;\n};\n\n/**\n * Today's tasks, the page's main thing and its first container: what is left on top, an add row\n * under it, what is done below. Ticking a task moves it to Done and moves the progress; unticking\n * brings it back. The focus follows the task, so the keyboard can undo the tick it just made.\n */\nexport function TaskList({ tasks, done, today, onDoneChange, onAdd }: TaskListProps) {\n  const id = useId();\n  const [draft, setDraft] = useState('');\n  const moved = useRef<string | null>(null);\n\n  const open = tasks.filter((task) => !done.includes(task.id));\n  const finished = done.flatMap((taskId) => tasks.find((task) => task.id === taskId) ?? []);\n  const checkboxId = (task: Task) => `${id}-${task.id}`;\n\n  // A ticked row leaves one list and is drawn again in the other, which drops the focus.\n  useEffect(() => {\n    if (moved.current) document.getElementById(moved.current)?.focus();\n    moved.current = null;\n  }, [done]);\n\n  const row = (task: Task, isDone: boolean) => (\n    <TaskRow\n      key={task.id}\n      task={task}\n      done={isDone}\n      overdue={!isDone && task.due !== undefined && task.due.slice(0, 10) < today}\n      checkboxId={checkboxId(task)}\n      onDoneChange={(value) => {\n        moved.current = checkboxId(task);\n        onDoneChange(task.id, value);\n      }}\n    />\n  );\n\n  const add = (event: FormEvent) => {\n    event.preventDefault();\n    if (!draft.trim()) return;\n    onAdd(draft.trim());\n    setDraft('');\n  };\n\n  return (\n    <Card role=\"region\" aria-labelledby={`${id}-title`}>\n      <Card.Header>\n        <div className=\"gap-ws-9 flex items-center justify-between\">\n          <h2 id={`${id}-title`} className=\"typography-label-strong-md text-ws-static-strong\">\n            Today’s tasks\n          </h2>\n          <div className=\"gap-ws-7 flex items-center\">\n            <p role=\"status\" className=\"typography-label-sm text-ws-static-subtle tabular-nums\">\n              {finished.length} of {tasks.length} done\n            </p>\n            {/* The bar fills its container: the container sets how small it is. */}\n            <div className=\"w-[6rem]\">\n              <ProgressBar\n                value={finished.length}\n                max={tasks.length}\n                status={open.length ? 'default' : 'success'}\n                aria-label=\"Tasks done today\"\n                aria-valuetext={`${finished.length} of ${tasks.length} tasks done`}\n              />\n            </div>\n          </div>\n        </div>\n      </Card.Header>\n\n      <ul aria-label=\"To do\">\n        {open.map((task) => row(task, false))}\n        <li className={DIVIDER}>\n          {/* Enter adds the task; an empty line adds nothing. The field's own inset puts its\n              icon on the checkboxes' line. */}\n          <form onSubmit={add} className={cn(ROW, 'px-ws-8')}>\n            <TextInput\n              preset=\"ghost\"\n              size=\"sm\"\n              value={draft}\n              onChange={(event) => setDraft(event.target.value)}\n            >\n              <TextInput.Prefix inner>\n                <TextInput.Icon icon={RiAddLine} />\n              </TextInput.Prefix>\n              <TextInput.Input placeholder=\"Add a task\" aria-label=\"Add a task for today\" />\n            </TextInput>\n          </form>\n        </li>\n      </ul>\n\n      {finished.length > 0 && (\n        <>\n          <h3\n            id={`${id}-done`}\n            className=\"typography-label-sm text-ws-static-subtle border-ws-static-base px-ws-11 pt-ws-9 pb-ws-5 border-y\"\n          >\n            Done\n          </h3>\n          <ul aria-labelledby={`${id}-done`}>{finished.map((task) => row(task, true))}</ul>\n        </>\n      )}\n    </Card>\n  );\n}\n"
    },
    {
      "path": "src/blocks/home/upcoming-meetings.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/home/upcoming-meetings.tsx",
      "content": "'use client';\n\n// TODO(custom): agenda list (a time column, then the meeting and who it is with); Wideset has no agenda or event row.\nimport { useId } from 'react';\n\nimport type { Meeting } from './data';\nimport { formatDay, formatTime } from './format';\n\n/**\n * The next few meetings: when on the left, in one column so the times line up, then what the\n * meeting is and the customer it is with. Plain rows, nothing to click: the calendar owns them.\n */\nexport function UpcomingMeetings({ meetings, today }: { meetings: Meeting[]; today: string }) {\n  const titleId = useId();\n\n  return (\n    <section aria-labelledby={titleId} className=\"gap-ws-9 flex flex-col\">\n      <h2 id={titleId} className=\"typography-label-strong-md text-ws-static-strong\">\n        Coming up\n      </h2>\n      <ul className=\"gap-ws-9 flex flex-col\">\n        {meetings.map((meeting) => (\n          <li key={meeting.id} className=\"gap-ws-9 flex items-start\">\n            <time dateTime={meeting.start} className=\"flex w-[4.5rem] shrink-0 flex-col\">\n              <span className=\"typography-label-sm text-ws-static-strong tabular-nums\">\n                {formatTime(meeting.start)}\n              </span>\n              <span className=\"typography-caption-md text-ws-static-subtle\">\n                {formatDay(meeting.start, today)}\n              </span>\n            </time>\n            <div className=\"flex min-w-0 flex-col\">\n              <span className=\"typography-label-strong-sm text-ws-static-strong truncate\">\n                {meeting.title}\n              </span>\n              <span className=\"typography-caption-md text-ws-static-subtle truncate\">\n                {meeting.customer} · {meeting.minutes} min\n              </span>\n            </div>\n          </li>\n        ))}\n      </ul>\n    </section>\n  );\n}\n"
    }
  ],
  "meta": {
    "version": "1.1.0",
    "commit": "a734f9f0"
  }
}
