{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "block-coach-marks",
  "type": "registry:block",
  "title": "Coach marks",
  "description": "A short guided tour over a real page: one mark at a time under the control it explains, that control ringed, with a step count, back, next and skipping, started again from the help menu.",
  "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/filter-button.json",
    "https://wideset.co/r/icon-button.json",
    "https://wideset.co/r/list-item.json",
    "https://wideset.co/r/popup.json",
    "https://wideset.co/r/select.json",
    "https://wideset.co/r/sidebar.json",
    "https://wideset.co/r/status-badge.json",
    "https://wideset.co/r/table.json",
    "https://wideset.co/r/tabs.json",
    "https://wideset.co/r/tag.json",
    "https://wideset.co/r/text-input.json",
    "https://wideset.co/r/utils.json"
  ],
  "files": [
    {
      "path": "src/blocks/coach-marks/brand-mark.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/coach-marks/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/coach-marks/coach-mark.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/coach-marks/coach-mark.tsx",
      "content": "'use client';\n\n// TODO(custom): a coach mark (one step of a tour: a step count, Back, Next, Skip, arrow keys between steps); Wideset has no tour or step popover, so it is composed from Popup.\nimport { Button } from '@/components/ui/wideset/button/Button';\nimport { Popup } from '@/components/ui/wideset/popup/Popup';\nimport { type RefObject, useEffect, useRef } from 'react';\n\nimport type { TourStep } from './data';\n\ntype CoachMarkProps = {\n  steps: TourStep[];\n  step: number;\n  /** Whether the tour is showing; the mark plays its exit while it turns false. */\n  open: boolean;\n  onStepChange: (step: number) => void;\n  /** Skip, Done and Esc all end the tour. */\n  onClose: () => void;\n  /** Where focus goes when the tour ends: the menu that starts it again. */\n  returnFocusRef: RefObject<HTMLElement | null>;\n};\n\n/**\n * One step of the tour, anchored under the control its `TourSpot` rings. It reads as a sentence\n * about that control: a title and one or two lines, the step count beside the title, Skip tour on\n * the left of the footer and Back and Next on the right, Next being the mark's one filled button\n * (Done on the last step). Each step mounts a new surface, so the mark enters again at its new\n * target with Popup's own short motion, which the motion tokens cut to nothing for reduced motion.\n * Focus lands on the mark itself, which reads its title and lines out and draws no second ring\n * beside the target's; there Enter is Next, the arrow keys step back and forth and Esc skips.\n * Clicks on the page leave the mark where it is: the reader may be trying the control it shows.\n */\nexport function CoachMark({\n  steps,\n  step,\n  open,\n  onStepChange,\n  onClose,\n  returnFocusRef,\n}: CoachMarkProps) {\n  const surface = useRef<HTMLDivElement>(null);\n  // A surface that leaves because the step changed must not pull focus out of the next one.\n  const showing = useRef(open);\n  useEffect(() => {\n    showing.current = open;\n  }, [open]);\n\n  const { title, body, align } = steps[step];\n  const last = step === steps.length - 1;\n  const go = (to: number) => to >= 0 && to < steps.length && onStepChange(to);\n\n  return (\n    <Popup.Container\n      key={step}\n      ref={surface}\n      side=\"bottom\"\n      align={align}\n      sideOffset={12}\n      collisionPadding={16}\n      // Wide enough that every step's text sets in two lines; still under Popup's own 492px.\n      className=\"ws-block-utility w-[26rem]\"\n      onOpenAutoFocus={(event) => {\n        event.preventDefault();\n        surface.current?.focus();\n      }}\n      onCloseAutoFocus={(event) => {\n        event.preventDefault();\n        if (!showing.current) returnFocusRef.current?.focus();\n      }}\n      onEscapeKeyDown={onClose}\n      onKeyDown={(event) => {\n        if (event.key === 'ArrowRight') go(step + 1);\n        if (event.key === 'ArrowLeft') go(step - 1);\n        // On the mark itself (not on one of its buttons), Enter is Next.\n        if (event.key === 'Enter' && event.target === event.currentTarget) {\n          if (last) onClose();\n          else go(step + 1);\n        }\n      }}\n    >\n      <Popup.Content contentClassName=\"gap-ws-3 flex flex-col\">\n        <div className=\"gap-ws-7 flex items-baseline justify-between\">\n          <Popup.Title>{title}</Popup.Title>\n          <span className=\"typography-caption-md text-ws-static-subtle shrink-0 tabular-nums\">\n            {`${step + 1} of ${steps.length}`}\n          </span>\n        </div>\n        <Popup.Description>{body}</Popup.Description>\n      </Popup.Content>\n      <Popup.Footer className=\"justify-between\">\n        <Button variant=\"secondary\" preset=\"ghost\" size=\"sm\" onClick={onClose}>\n          Skip tour\n        </Button>\n        <div className=\"gap-ws-5 flex items-center\">\n          {step > 0 && (\n            <Button variant=\"secondary\" preset=\"border\" size=\"sm\" onClick={() => go(step - 1)}>\n              Back\n            </Button>\n          )}\n          <Button size=\"sm\" onClick={() => (last ? onClose() : go(step + 1))}>\n            {last ? 'Done' : 'Next'}\n          </Button>\n        </div>\n      </Popup.Footer>\n    </Popup.Container>\n  );\n}\n"
    },
    {
      "path": "src/blocks/coach-marks/customers-table.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/coach-marks/customers-table.tsx",
      "content": "'use client';\n\nimport { Avatar } from '@/components/ui/wideset/avatar/Avatar';\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';\n\nimport { type Customer, HEALTH, OWNERS, PLAN_LABEL } from './data';\nimport { formatActivity, formatDateTime, formatUsd } from './format';\nimport { PersonAvatar } from './person-avatar';\nimport { RowMenu } from './row-menu';\nimport { TourSpot } from './tour-spot';\n\n/** `Halcyon Freight` → `HF`, `Marlow & Finch` → `MF`. */\nconst initialsOf = (name: string) =>\n  name\n    .split(' ')\n    .filter((word) => /^[A-Z]/.test(word))\n    .slice(0, 2)\n    .map((word) => word[0])\n    .join('');\n\n/**\n * The customers in the current segment: who, their plan, what they pay, their health, who owns\n * them and when they were last in touch. The first row's menu is the tour's third stop, so it is\n * the one wrapped in a `TourSpot`.\n */\nexport function CustomersTable({\n  rows,\n  onAssignToMe,\n}: {\n  rows: Customer[];\n  onAssignToMe: (id: string) => void;\n}) {\n  return (\n    <div className=\"ws-scrollbar overflow-x-auto\">\n      <Table size=\"md\" className=\"min-w-[60rem] table-fixed\">\n        <Table.Head>\n          <Table.Row>\n            <Table.Header>Company</Table.Header>\n            <Table.Header className=\"w-[8rem]\">Plan</Table.Header>\n            <Table.Header align=\"right\" className=\"w-[8rem]\">\n              MRR\n            </Table.Header>\n            <Table.Header className=\"w-[8.5rem]\">Health</Table.Header>\n            <Table.Header className=\"w-[11rem]\">Owner</Table.Header>\n            <Table.Header className=\"w-[10rem]\">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, index) => {\n            const owner = OWNERS[customer.owner];\n            const health = HEALTH[customer.health];\n            const menu = (\n              <RowMenu customer={customer} onAssignToMe={() => onAssignToMe(customer.id)} />\n            );\n            return (\n              <Table.Row key={customer.id}>\n                <Table.Cell>\n                  <div className=\"gap-ws-7 flex items-center\">\n                    <Avatar shape=\"square\" initials={initialsOf(customer.name)} />\n                    <div className=\"min-w-0\">\n                      <span className=\"text-ws-static-strong block truncate\">{customer.name}</span>\n                      <Table.CellDescription className=\"truncate\">\n                        {customer.id}\n                      </Table.CellDescription>\n                    </div>\n                  </div>\n                </Table.Cell>\n                <Table.Cell>\n                  <Tag color=\"secondary\" size=\"sm\">\n                    {PLAN_LABEL[customer.plan]}\n                  </Tag>\n                </Table.Cell>\n                <Table.Cell align=\"right\">\n                  {customer.mrr > 0 ? (\n                    <span className=\"typography-number-sm tabular-nums\">\n                      {formatUsd(customer.mrr)}\n                    </span>\n                  ) : (\n                    <span className=\"text-ws-static-subtle\">—</span>\n                  )}\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-5 flex items-center\">\n                    <PersonAvatar size=\"sm\" name={owner.name} initials={owner.initials} />\n                    <span className=\"truncate\">{owner.name}</span>\n                  </div>\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                <Table.Cell align=\"right\">\n                  {index === 0 ? (\n                    <TourSpot id=\"row-menu\" className=\"inline-flex\">\n                      {menu}\n                    </TourSpot>\n                  ) : (\n                    menu\n                  )}\n                </Table.Cell>\n              </Table.Row>\n            );\n          })}\n        </Table.Body>\n      </Table>\n    </div>\n  );\n}\n"
    },
    {
      "path": "src/blocks/coach-marks/data.ts",
      "type": "registry:file",
      "target": "blocks/wideset/coach-marks/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';\n\n/*\n  Jonas Weber joined Lumen Studio this week and opens Customers for the first time: the page shows\n  him a four-step tour of the controls he will use every day. The list is the workspace's own\n  customers, seen from Tuesday 10 November 2026, 4 PM.\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\n/** The moment the sample is seen from, so relative dates stay put. */\nexport const NOW = new Date('2026-11-10T16:00');\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\nexport type Plan = 'trial' | 'team' | 'business' | 'enterprise';\nexport type Health = 'healthy' | 'at-risk' | 'churned';\nexport type OwnerId = 'maya' | 'jonas' | 'priya' | 'tom' | 'elena' | 'daniel';\n\nexport type Customer = {\n  /** The customer's domain doubles as its id. */\n  id: string;\n  name: string;\n  plan: Plan;\n  /** Monthly recurring revenue in USD; 0 while on trial or after churning. */\n  mrr: number;\n  health: Health;\n  owner: OwnerId;\n  /** Local date and time of the last e-mail, call or product event. */\n  lastActivity: string;\n};\n\nexport const OWNERS: Record<OwnerId, { name: string; initials: string }> = {\n  maya: { name: 'Maya Okafor', initials: 'MO' },\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};\n\nexport const PLAN_LABEL: Record<Plan, string> = {\n  trial: 'Trial',\n  team: 'Team',\n  business: 'Business',\n  enterprise: 'Enterprise',\n};\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' | 'negative' }> =\n  {\n    healthy: { label: 'Healthy', color: 'positive' },\n    'at-risk': { label: 'At risk', color: 'notice' },\n    churned: { label: 'Churned', color: 'negative' },\n  };\n\n/** A tab: a saved segment of the list. At risk overlaps Active and Trial. */\nexport type Segment = { value: string; label: string; match: (customer: Customer) => boolean };\n\nexport const SEGMENTS: Segment[] = [\n  { value: 'all', label: 'All', match: () => true },\n  { value: 'active', label: 'Active', match: (c) => c.plan !== 'trial' && c.health !== 'churned' },\n  { value: 'trial', label: 'Trial', match: (c) => c.plan === 'trial' },\n  { value: 'at-risk', label: 'At risk', match: (c) => c.health === 'at-risk' },\n  { value: 'churned', label: 'Churned', match: (c) => c.health === 'churned' },\n];\n\nexport const planOptions = Object.entries(PLAN_LABEL).map(([value, label]) => ({ value, label }));\nexport const ownerOptions = Object.entries(OWNERS).map(([value, o]) => ({ value, label: o.name }));\nexport const healthOptions = Object.entries(HEALTH).map(([value, h]) => ({\n  value,\n  label: h.label,\n}));\n\nexport type SortKey = 'lastActivity' | 'mrr' | 'name';\nexport const sortOptions: { value: SortKey; label: string }[] = [\n  { value: 'lastActivity', label: 'Sort by last activity' },\n  { value: 'mrr', label: 'Sort by MRR' },\n  { value: 'name', label: 'Sort by name' },\n];\n\nconst customer = (\n  name: string,\n  id: string,\n  plan: Plan,\n  mrr: number,\n  health: Health,\n  owner: OwnerId,\n  lastActivity: string,\n): Customer => ({ id, name, plan, mrr, health, owner, lastActivity });\n\n// One customer per line: name, domain, plan, MRR, health, owner, last activity.\n// prettier-ignore\nexport const CUSTOMERS: Customer[] = [\n  customer('Halcyon Freight', 'halcyonfreight.com', 'enterprise', 18500, 'healthy', 'jonas', '2026-11-10T15:42'),\n  customer('Atlas Robotics', 'atlasrobotics.io', 'trial', 0, 'healthy', 'tom', '2026-11-10T14:55'),\n  customer('Northwind Health', 'northwindhealth.com', 'business', 2400, 'healthy', 'maya', '2026-11-10T13:05'),\n  customer('Kestrel Analytics', 'kestrel.io', 'business', 3600, 'healthy', 'tom', '2026-11-10T11:30'),\n  customer('Juniper Legal', 'juniperlegal.com', 'business', 1650, 'healthy', 'priya', '2026-11-10T09:12'),\n  customer('Cobalt Security', 'cobaltsec.io', 'enterprise', 8200, 'healthy', 'jonas', '2026-11-10T08:40'),\n  customer('Marlow & Finch', 'marlowfinch.com', 'team', 490, 'at-risk', 'elena', '2026-11-09T17:10'),\n  customer('Tidewater Energy', 'tidewater.energy', 'enterprise', 12800, 'healthy', 'daniel', '2026-11-07T10:15'),\n  customer('Brightline Dental', 'brightlinedental.com', 'team', 690, 'at-risk', 'priya', '2026-10-14T10:20'),\n  customer('Quarry Coffee Co.', 'quarrycoffee.com', 'team', 0, 'churned', 'maya', '2026-09-22T12:00'),\n];\n\n/** The controls the tour points at, each wrapped in a `TourSpot` on the page. */\nexport type TourTarget = 'segments' | 'filters' | 'row-menu' | 'add';\n\nexport type TourStep = {\n  target: TourTarget;\n  title: string;\n  /** One or two lines: what the control does, and when to reach for it. */\n  body: string;\n  /** Which end of the target the mark lines up with, so it stays on the page. */\n  align: 'start' | 'end';\n};\n\n/** The tour, in the page's reading order: the views, narrowing them, one row, adding. */\nexport const TOUR: TourStep[] = [\n  {\n    target: 'segments',\n    title: 'Segments',\n    body: 'Switch between all customers, active ones, trials and those at risk. At risk is the list to check each morning.',\n    align: 'start',\n  },\n  {\n    target: 'filters',\n    title: 'Filters',\n    body: 'Narrow the list by plan, owner or health. Filters stay on while you switch segments.',\n    align: 'start',\n  },\n  {\n    target: 'row-menu',\n    title: 'Row actions',\n    body: 'Open a customer, assign it to yourself or copy its domain from the menu at the end of each row.',\n    align: 'end',\n  },\n  {\n    target: 'add',\n    title: 'Add a customer',\n    body: 'Add customers one at a time here. To bring in a list, use Import beside it.',\n    align: 'end',\n  },\n];\n"
    },
    {
      "path": "src/blocks/coach-marks/filters.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/coach-marks/filters.tsx",
      "content": "'use client';\n\nimport { RiSearchLine } from '@remixicon/react';\nimport { FilterButton } from '@/components/ui/wideset/filter-button/FilterButton';\nimport { Select } from '@/components/ui/wideset/select/Select';\nimport { TextInput } from '@/components/ui/wideset/text-input/TextInput';\n\nimport { healthOptions, ownerOptions, planOptions, type SortKey, sortOptions } from './data';\nimport { TourSpot } from './tour-spot';\n\nexport type FilterValues = { query: string; plans: string[]; owners: string[]; health: string[] };\n\n/**\n * The toolbar over the table: search, a filter per column worth narrowing by, and the sort. The\n * three filters are one stop of the tour, so they sit together in one `TourSpot`.\n */\nexport function Filters({\n  values,\n  onChange,\n  sort,\n  onSortChange,\n}: {\n  values: FilterValues;\n  onChange: (values: FilterValues) => void;\n  sort: SortKey;\n  onSortChange: (sort: SortKey) => void;\n}) {\n  const set = (next: Partial<FilterValues>) => onChange({ ...values, ...next });\n\n  return (\n    <div className=\"gap-ws-5 flex flex-wrap items-center\">\n      <TextInput\n        size=\"sm\"\n        className=\"w-[18rem] max-w-full\"\n        value={values.query}\n        onChange={(event) => set({ query: 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      <TourSpot id=\"filters\" className=\"gap-ws-5 flex items-center\">\n        <FilterButton\n          label=\"Plan\"\n          placeholder=\"Plan\"\n          options={planOptions}\n          value={values.plans}\n          onChange={(plans) => set({ plans })}\n          clearFilterAriaLabel=\"Clear plan filter\"\n        />\n        <FilterButton\n          label=\"Owner\"\n          placeholder=\"Owner\"\n          options={ownerOptions}\n          value={values.owners}\n          onChange={(owners) => set({ owners })}\n          clearFilterAriaLabel=\"Clear owner filter\"\n        />\n        <FilterButton\n          label=\"Health\"\n          placeholder=\"Health\"\n          options={healthOptions}\n          value={values.health}\n          onChange={(health) => set({ health })}\n          clearFilterAriaLabel=\"Clear health filter\"\n        />\n      </TourSpot>\n      <Select\n        size=\"sm\"\n        preset=\"border\"\n        aria-label=\"Sort customers\"\n        options={sortOptions}\n        value={sort}\n        onValueChange={(value) => onSortChange(value as SortKey)}\n        className=\"ml-auto w-auto\"\n      />\n    </div>\n  );\n}\n"
    },
    {
      "path": "src/blocks/coach-marks/format.ts",
      "type": "registry:file",
      "target": "blocks/wideset/coach-marks/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/coach-marks/help-menu.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/coach-marks/help-menu.tsx",
      "content": "'use client';\n\nimport { RiBookOpenLine, RiCompass3Line, RiKeyboardLine, RiQuestionLine } from '@remixicon/react';\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 { type Ref, useRef } from 'react';\n\n/**\n * The page's help, at the end of the top bar: the tour to take again, the page's guide and the\n * shortcuts. The tour starts once the menu has closed and handed focus back, so the mark can take\n * the focus without the menu pulling it away again.\n */\nexport function HelpMenu({\n  triggerRef,\n  onTakeTour,\n}: {\n  triggerRef: Ref<HTMLButtonElement>;\n  onTakeTour: () => void;\n}) {\n  const tourChosen = useRef(false);\n\n  return (\n    <DropdownMenu>\n      <DropdownMenu.Trigger asChild>\n        <IconButton\n          ref={triggerRef}\n          icon={RiQuestionLine}\n          variant=\"secondary\"\n          preset=\"ghost\"\n          size=\"sm\"\n          iconClassName=\"text-ws-static-subtle size-ws-9\"\n          aria-label=\"Help\"\n          className=\"-mr-ws-5\"\n        />\n      </DropdownMenu.Trigger>\n      <DropdownMenu.Content\n        align=\"end\"\n        className=\"ws-block-utility w-[14rem]\"\n        onCloseAutoFocus={(event) => {\n          if (!tourChosen.current) return;\n          tourChosen.current = false;\n          event.preventDefault();\n          onTakeTour();\n        }}\n      >\n        <DropdownMenu.Item onSelect={() => (tourChosen.current = true)}>\n          <ListItem.Prefix>\n            <RiCompass3Line className=\"size-ws-9\" />\n          </ListItem.Prefix>\n          <ListItem.Content>\n            <ListItem.Label>Take the tour</ListItem.Label>\n          </ListItem.Content>\n        </DropdownMenu.Item>\n        <DropdownMenu.Item>\n          <ListItem.Prefix>\n            <RiBookOpenLine className=\"size-ws-9\" />\n          </ListItem.Prefix>\n          <ListItem.Content>\n            <ListItem.Label>Customers guide</ListItem.Label>\n          </ListItem.Content>\n        </DropdownMenu.Item>\n        <DropdownMenu.Item>\n          <ListItem.Prefix>\n            <RiKeyboardLine className=\"size-ws-9\" />\n          </ListItem.Prefix>\n          <ListItem.Content>\n            <ListItem.Label>Keyboard shortcuts</ListItem.Label>\n          </ListItem.Content>\n        </DropdownMenu.Item>\n      </DropdownMenu.Content>\n    </DropdownMenu>\n  );\n}\n"
    },
    {
      "path": "src/blocks/coach-marks/index.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/coach-marks/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 { Popup } from '@/components/ui/wideset/popup/Popup';\nimport { Tabs } from '@/components/ui/wideset/tabs/Tabs';\nimport { useId, useRef, useState } from 'react';\n\nimport { CoachMark } from './coach-mark';\nimport { CustomersTable } from './customers-table';\nimport { type Customer, CUSTOMERS, type OwnerId, SEGMENTS, type SortKey, TOUR } from './data';\nimport { Filters, type FilterValues } from './filters';\nimport { HelpMenu } from './help-menu';\nimport { PageHeader } from './page-header';\nimport { CustomersSidebar } from './sidebar';\nimport { TourContext, TourSpot } from './tour-spot';\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]';\nconst NO_FILTERS: FilterValues = { query: '', plans: [], owners: [], health: [] };\n/** The signed-in teammate, for \"Assign to me\". */\nconst ME: OwnerId = 'maya';\n\nconst compare = (key: SortKey) => (a: Customer, b: Customer) =>\n  key === 'mrr'\n    ? b.mrr - a.mrr\n    : key === 'name'\n      ? a.name.localeCompare(b.name)\n      : b.lastActivity.localeCompare(a.lastActivity);\n\n/**\n * Coach marks (Inset direction): a four-step tour of Customers for a new teammate, open on load\n * over the real page. One mark at a time sits under the control it explains (the segment tabs, the\n * filters, a row's menu, Add customer), and that control alone takes a ring in the brand colour.\n * There is no scrim: the page stays as it is, readable and usable, so the tour is a light layer on\n * it rather than a curtain in front of it. \"Take the tour\" in the help menu at the end of the top\n * bar starts it again.\n */\nexport default function CoachMarks() {\n  const sidebarId = useId();\n  const [collapsed, setCollapsed] = useState(false);\n  const [customers, setCustomers] = useState(CUSTOMERS);\n  const [segment, setSegment] = useState('all');\n  const [filters, setFilters] = useState(NO_FILTERS);\n  const [sort, setSort] = useState<SortKey>('lastActivity');\n  const [tour, setTour] = useState({ step: 0, open: true });\n  const help = useRef<HTMLButtonElement>(null);\n\n  const inSegment = SEGMENTS.find((item) => item.value === segment)!.match;\n  const query = filters.query.trim().toLowerCase();\n  const rows = customers\n    .filter(\n      (c) =>\n        inSegment(c) &&\n        (c.name.toLowerCase().includes(query) || c.id.includes(query)) &&\n        (filters.plans.length === 0 || filters.plans.includes(c.plan)) &&\n        (filters.owners.length === 0 || filters.owners.includes(c.owner)) &&\n        (filters.health.length === 0 || filters.health.includes(c.health)),\n    )\n    .sort(compare(sort));\n\n  return (\n    // The tour's Popup holds the whole page: its anchor is whichever control the step rings.\n    <Popup open={tour.open}>\n      <TourContext.Provider value={{ target: TOUR[tour.step].target, open: tour.open }}>\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\n                  follow it, and the page's help closes the bar on the right. */}\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\" className=\"min-w-0 flex-1\">\n                  <Breadcrumbs.Item>Customers</Breadcrumbs.Item>\n                </Breadcrumbs>\n                <HelpMenu triggerRef={help} onTakeTour={() => setTour({ step: 0, open: true })} />\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                <PageHeader />\n\n                <Tabs value={segment} onValueChange={setSegment} divider={false}>\n                  <div className=\"border-ws-static-base border-b\">\n                    <TourSpot id=\"segments\" className=\"w-fit\">\n                      <Tabs.List aria-label=\"Segments\">\n                        {SEGMENTS.map((item) => (\n                          <Tabs.Item key={item.value} value={item.value}>\n                            <Tabs.Label>{item.label}</Tabs.Label>\n                          </Tabs.Item>\n                        ))}\n                      </Tabs.List>\n                    </TourSpot>\n                  </div>\n                  <Tabs.Content value={segment} className=\"gap-ws-9 pt-ws-9 flex flex-col\">\n                    <Filters\n                      values={filters}\n                      onChange={setFilters}\n                      sort={sort}\n                      onSortChange={setSort}\n                    />\n                    <CustomersTable\n                      rows={rows}\n                      onAssignToMe={(id) =>\n                        setCustomers((all) =>\n                          all.map((c) => (c.id === id ? { ...c, owner: ME } : c)),\n                        )\n                      }\n                    />\n                  </Tabs.Content>\n                </Tabs>\n              </div>\n            </div>\n          </AppShell.Main>\n        </AppShell>\n      </TourContext.Provider>\n      <CoachMark\n        steps={TOUR}\n        step={tour.step}\n        open={tour.open}\n        onStepChange={(step) => setTour({ step, open: true })}\n        onClose={() => setTour((current) => ({ ...current, open: false }))}\n        returnFocusRef={help}\n      />\n    </Popup>\n  );\n}\n"
    },
    {
      "path": "src/blocks/coach-marks/page-header.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/coach-marks/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 { TourSpot } from './tour-spot';\n\n/**\n * The page's title, one line saying what the list is for, and its actions: Import and Export\n * secondary, Add customer the page's one filled button and the tour's last stop.\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          Everyone Lumen Studio sells to, with their plan, health and owner.\n        </p>\n      </div>\n      <div className=\"gap-ws-5 flex items-center\">\n        <Button variant=\"secondary\" preset=\"border\" size=\"sm\">\n          Import\n        </Button>\n        <Button variant=\"secondary\" preset=\"border\" size=\"sm\">\n          Export\n        </Button>\n        <TourSpot id=\"add\">\n          <Button size=\"sm\">\n            <Button.Icon icon={RiAddLine} />\n            Add customer\n          </Button>\n        </TourSpot>\n      </div>\n    </header>\n  );\n}\n"
    },
    {
      "path": "src/blocks/coach-marks/people.assets.ts",
      "type": "registry:file",
      "target": "blocks/wideset/coach-marks/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/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACA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B3k9fEeNO/D/FNHjYLYrteBctPTqDuP39EuYjhM9AQX6tO62ISN1kKI7zigPcM4/9r2jOhxdu5Ye3nMeRST+9ObTuKQgckoVj4CufaXO1l2JA9UwifcQlINeE45XHEK6WpP8A0Tb21t+wT/hsAp6dsfT+lVvtN1XEg2OZbFJ33HXnQT0AKif3odoOlX7xPjMRGlLU84BugchRT612Yo1BbLiuJkzgs7mTwPI4+YribENHSbDc7kxdbY83ObcCu1cGUhBHIHqfdW/DsSio6J74j59wd77+y7UU/jygP5K6tl1pTpyxQrUnk22P93WrGyp1rcPIdKhENwwpKVD/AC1ZHmKshhhCmUuJOUqG8DWnh+qdUROjedQb9j/N1nr2CN4cBoVyJDqbXAeexxSnPvNU3r3S6NS2hxmT3nXDvFR9o86tTU8pK1tQ0EHdO+sD6D9/lUZmR/SVoZ6YJPyodj9c4TthiP8Apr3/AIWigjswvdv8IABZAxdJoU0r0WM8W1LKcpODU20dGLmqYCLZ3oq1b2E54EDr4YOKnGv9nV4scS5xosbtoM94LS6gZW2c5/v31MNjezB3TzMm6TlBTz7Q7MeG8QT/AH76K1eLxvpTJmuSLAduZ6KkNIY5AANOd/pW0lJjwY5J7yS2SfHKhWrqyLjsJIHD+mfuP3rduZ7JqO37TjY+WDWxfWu2tkhPUJCx8ONDOEa40WLQybFwafZ2n3fsqY1B49G9voT+mq//2Q==',\n};\n"
    },
    {
      "path": "src/blocks/coach-marks/person-avatar.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/coach-marks/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/coach-marks/row-menu.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/coach-marks/row-menu.tsx",
      "content": "'use client';\n\nimport { RiMoreFill } from '@remixicon/react';\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';\n\nimport type { Customer } from './data';\n\nconst Item = ({ label, onSelect }: { label: string; onSelect?: () => void }) => (\n  <DropdownMenu.Item onSelect={onSelect}>\n    <ListItem.Content>\n      <ListItem.Label>{label}</ListItem.Label>\n    </ListItem.Content>\n  </DropdownMenu.Item>\n);\n\n/** A row's own actions, behind the ⋯ at its end. */\nexport function RowMenu({\n  customer,\n  onAssignToMe,\n}: {\n  customer: Customer;\n  onAssignToMe: () => void;\n}) {\n  return (\n    <DropdownMenu>\n      <DropdownMenu.Trigger asChild>\n        <IconButton\n          icon={RiMoreFill}\n          size=\"xs\"\n          variant=\"secondary\"\n          preset=\"ghost\"\n          aria-label={`Actions for ${customer.name}`}\n        />\n      </DropdownMenu.Trigger>\n      <DropdownMenu.Content className=\"ws-block-utility\" align=\"end\">\n        <Item label=\"Open customer\" />\n        <Item label=\"Assign to me\" onSelect={onAssignToMe} />\n        <Item\n          label=\"Copy domain\"\n          onSelect={() => void navigator.clipboard?.writeText(customer.id).catch(() => {})}\n        />\n        <DropdownMenu.Separator />\n        <DropdownMenu.Item variant=\"danger\">\n          <ListItem.Content>\n            <ListItem.Label>Delete customer</ListItem.Label>\n          </ListItem.Content>\n        </DropdownMenu.Item>\n      </DropdownMenu.Content>\n    </DropdownMenu>\n  );\n}\n"
    },
    {
      "path": "src/blocks/coach-marks/sidebar.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/coach-marks/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"
    },
    {
      "path": "src/blocks/coach-marks/tour-spot.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/coach-marks/tour-spot.tsx",
      "content": "'use client';\n\n// TODO(custom): a tour's target ring, which is also its coach mark's anchor; Wideset's Popup anchors only to its own trigger (there is no Popup.Anchor), and nothing marks a target.\nimport { cn } from '@/lib/wideset/utils';\nimport { Popup } from '@/components/ui/wideset/popup/Popup';\nimport { createContext, type ReactNode, useContext, useEffect, useRef } from 'react';\n\nimport type { TourTarget } from './data';\n\n/** Which control the tour points at now, and whether the tour is showing. */\nexport const TourContext = createContext<{ target?: TourTarget; open: boolean }>({ open: false });\n\n/** Whether the device asks for less motion; where there is no `matchMedia` (a test), it does not. */\nconst reducedMotion = () =>\n  typeof window.matchMedia === 'function' &&\n  window.matchMedia('(prefers-reduced-motion: reduce)').matches;\n\n/**\n * Wraps a control the tour can point at. While it is the current step, a ring in the brand colour\n * sits 4px outside the control, and the ring is the coach mark's anchor (a `Popup.Trigger` nobody\n * can click), so the mark follows the control when the page scrolls or the window resizes. The\n * ring stays (unringed) while the tour closes, so the mark leaves from where it was. The control\n * itself is untouched: it still works under the ring.\n */\nexport function TourSpot({\n  id,\n  className,\n  children,\n}: {\n  id: TourTarget;\n  className?: string;\n  children: ReactNode;\n}) {\n  const { target, open } = useContext(TourContext);\n  const ring = useRef<HTMLSpanElement>(null);\n  const current = target === id;\n\n  // Bring the target into view; smoothly, unless the device asks for less motion.\n  useEffect(() => {\n    if (!current || !open || typeof ring.current?.scrollIntoView !== 'function') return;\n    ring.current.scrollIntoView({\n      block: 'nearest',\n      inline: 'nearest',\n      behavior: reducedMotion() ? 'auto' : 'smooth',\n    });\n  }, [current, open]);\n\n  return (\n    <div className={cn('relative', className)}>\n      {children}\n      {current && (\n        <Popup.Trigger asChild>\n          <span\n            ref={ring}\n            aria-hidden=\"true\"\n            tabIndex={-1}\n            className={cn(\n              '-inset-ws-3 rounded-ws-container-sm pointer-events-none absolute',\n              open && 'outline-ws-dynamic-primary-default outline-2',\n            )}\n          />\n        </Popup.Trigger>\n      )}\n    </div>\n  );\n}\n"
    }
  ],
  "meta": {
    "version": "1.1.0",
    "commit": "a734f9f0"
  }
}
