{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "block-notifications",
  "type": "registry:block",
  "title": "Notifications",
  "description": "An inbox of notifications: unread first, grouped by day, filters, and acting on one without leaving.",
  "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/button.json",
    "https://wideset.co/r/dropdown-menu.json",
    "https://wideset.co/r/icon-button.json",
    "https://wideset.co/r/inline-alert.json",
    "https://wideset.co/r/list-item.json",
    "https://wideset.co/r/sidebar.json",
    "https://wideset.co/r/status-badge.json",
    "https://wideset.co/r/tabs.json",
    "https://wideset.co/r/textarea.json",
    "https://wideset.co/r/toast.json",
    "https://wideset.co/r/tooltip.json",
    "https://wideset.co/r/utils.json"
  ],
  "files": [
    {
      "path": "src/blocks/notifications/brand-mark.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/notifications/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/notifications/comment-thread.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/notifications/comment-thread.tsx",
      "content": "'use client';\n\n// TODO(custom): comment thread (author, time, text with mentions); no Comment component in Wideset.\nimport { account, type Message } from './data';\nimport { formatDateTime, formatWhen } from './format';\nimport { PersonAvatar } from './person-avatar';\n\nconst MENTION = `@${account.name}`;\n\n/** The text, with a mention of the signed-in user carrying weight: it is why they were told. */\nfunction Text({ text }: { text: string }) {\n  return text.split(MENTION).map((part, index) => (\n    <span key={index}>\n      {index > 0 && <span className=\"text-ws-static-strong font-ws-medium\">{MENTION}</span>}\n      {part}\n    </span>\n  ));\n}\n\n/** A conversation, oldest first: who wrote, when, and what they said. */\nexport function CommentThread({ messages }: { messages: Message[] }) {\n  return (\n    <ol aria-label=\"Comments\" className=\"gap-ws-11 flex flex-col\">\n      {messages.map((message) => (\n        <li key={message.at} className=\"gap-ws-7 flex\">\n          <PersonAvatar name={message.author.name} initials={message.author.initials} aria-hidden />\n          <div className=\"gap-ws-2 flex min-w-0 flex-1 flex-col\">\n            <p className=\"gap-ws-5 flex items-baseline\">\n              <span className=\"typography-label-strong-sm text-ws-static-strong\">\n                {message.author.name}\n              </span>\n              <time\n                dateTime={message.at}\n                title={formatDateTime(message.at)}\n                className=\"typography-label-sm text-ws-static-subtle\"\n              >\n                {formatWhen(message.at)}\n              </time>\n            </p>\n            <p className=\"typography-body-md text-ws-static-base\">\n              <Text text={message.text} />\n            </p>\n          </div>\n        </li>\n      ))}\n    </ol>\n  );\n}\n"
    },
    {
      "path": "src/blocks/notifications/data.ts",
      "type": "registry:file",
      "target": "blocks/wideset/notifications/data.ts",
      "content": "import {\n  type RemixiconComponentType,\n  RiBarChartBoxLine,\n  RiBriefcase4Line,\n  RiHome5Line,\n  RiInbox2Line,\n  RiMoneyDollarCircleLine,\n  RiSettings3Line,\n  RiTeamLine,\n  RiUserLine,\n} from '@remixicon/react';\n\n/** The sample's clock: every relative time on the page is measured from here (a Thursday). */\nexport const NOW = new Date('2026-11-12T16:20:00');\n\nexport const workspace = { name: 'Lumen Studio' };\n\nexport type Person = { name: string; initials: string };\n\n/** The signed-in user: the \"you\" of every notification. */\nexport const account = {\n  name: 'Nina Alvarez',\n  initials: 'NA',\n  email: 'nina@lumen.studio',\n  role: 'Account executive',\n};\n\nexport const navigation: { id: string; label: string; icon: RemixiconComponentType }[] = [\n  { id: 'home', label: 'Home', icon: RiHome5Line },\n  { id: 'inbox', label: 'Inbox', icon: RiInbox2Line },\n  { id: 'customers', label: 'Customers', icon: RiUserLine },\n  { id: 'deals', label: 'Deals', icon: RiBriefcase4Line },\n  { id: 'revenue', label: 'Revenue', icon: RiMoneyDollarCircleLine },\n  { id: 'reports', label: 'Reports', icon: RiBarChartBoxLine },\n];\n\nexport const workspaceNavigation: { id: string; label: string; icon: RemixiconComponentType }[] = [\n  { id: 'team', label: 'Team', icon: RiTeamLine },\n  { id: 'settings', label: 'Settings', icon: RiSettings3Line },\n];\n\nconst maya = { name: 'Maya Chen', initials: 'MC' };\nconst marcus = { name: 'Marcus Bell', initials: 'MB' };\nconst priya = { name: 'Priya Raman', initials: 'PR' };\nconst jonas = { name: 'Jonas Lindqvist', initials: 'JL' };\nconst kofi = { name: 'Kofi Mensah', initials: 'KM' };\nconst leila = { name: 'Leila Haddad', initials: 'LH' };\nconst hana = { name: 'Hana Kobayashi', initials: 'HK' };\nconst nina: Person = account;\n\nexport type StageColor = 'neutral' | 'info' | 'notice' | 'positive' | 'negative';\n\n/** A deal stage's colour, the same in every block: early stages neutral, Proposal in progress, Negotiation waiting on the customer, Commit and won positive, lost negative. */\nconst STAGE_COLOR: Record<string, StageColor> = {\n  Proposal: 'info',\n  Negotiation: 'notice',\n  Commit: 'positive',\n  'Closed won': 'positive',\n  'Closed lost': 'negative',\n};\n\nexport function stageColor(stage: string): StageColor {\n  return STAGE_COLOR[stage] ?? 'neutral';\n}\n\n/** One fact about the record; a status carries its colour. */\nexport type Fact = { label: string; value: string; status?: StageColor };\n\nconst stage = (value: string): Fact => ({ label: 'Stage', value, status: stageColor(value) });\n\n/** What a notification is about; the detail shows its facts and opens it. */\nexport type Subject = {\n  kind: 'Deal' | 'Account' | 'Invoice' | 'Task' | 'Report';\n  /** Where it lives, for the breadcrumb: \"Deals\". */\n  section: string;\n  name: string;\n  facts: Fact[];\n};\n\nexport type Message = { author: Person; at: string; text: string };\n\n/** What happened, as the detail shows it. */\nexport type Context =\n  /**\n   * A conversation, or the note left with an assignment or a share; the last message is the one\n   * that notified you.\n   */\n  | { type: 'comment'; thread: Message[] }\n  | { type: 'change'; field: 'Stage'; from: string; to: string }\n  /** Something Orbit itself reports and someone has to act on. */\n  | { type: 'alert'; status: 'error' | 'warning'; title: string; text: string };\n\nexport type Notification = {\n  id: string;\n  /** Muting a thread hides every notification in it. */\n  thread: string;\n  /** Who did it; `null` when Orbit itself reports it. */\n  actor: Person | null;\n  /**\n   * The sentence, as actor + action + target + trail: \"Maya Chen\" \"mentioned you in\" \"Lanetrack\";\n   * \"Priya Raman\" \"moved\" \"Kestrel Labs\" \"to Closed won\". The actor and target are what the eye\n   * looks for.\n   */\n  action: string;\n  target: string;\n  trail?: string;\n  /** Why it reached you, for the tabs. */\n  reason: 'mention' | 'assigned' | 'following';\n  /** One line under the sentence: what was said or what changed. */\n  preview: string;\n  at: string;\n  read: boolean;\n  subject: Subject;\n  context: Context;\n};\n\nconst lanetrack: Subject = {\n  kind: 'Deal',\n  section: 'Deals',\n  name: 'Lanetrack · Annual renewal',\n  facts: [\n    stage('Negotiation'),\n    { label: 'Amount', value: '$48,000 a year' },\n    { label: 'Close date', value: 'Nov 28, 2026' },\n    { label: 'Owner', value: 'Nina Alvarez' },\n    { label: 'Plan', value: 'Scale, 3 years' },\n  ],\n};\n\nconst kestrel: Subject = {\n  kind: 'Deal',\n  section: 'Deals',\n  name: 'Kestrel Labs · New business',\n  facts: [\n    stage('Closed won'),\n    { label: 'Amount', value: '$36,000 a year' },\n    { label: 'Closed on', value: 'Nov 12, 2026' },\n    { label: 'Owner', value: 'Priya Raman' },\n    { label: 'Plan', value: 'Growth, 1 year' },\n  ],\n};\n\nconst brightwave: Subject = {\n  kind: 'Deal',\n  section: 'Deals',\n  name: 'Brightwave · Renewal 2027',\n  facts: [\n    stage('Negotiation'),\n    { label: 'Amount', value: '$21,600 a year' },\n    { label: 'Close date', value: 'Dec 15, 2026' },\n    { label: 'Owner', value: 'Nina Alvarez' },\n    { label: 'Plan', value: 'Growth, 1 year' },\n  ],\n};\n\nexport const notifications: Notification[] = [\n  // Today\n  {\n    id: 'n1',\n    thread: 'lanetrack-renewal',\n    actor: maya,\n    action: 'mentioned you in',\n    target: 'Lanetrack',\n    reason: 'mention',\n    preview: 'Can you confirm the 12% multi-year discount before I send the order form?',\n    at: '2026-11-12T16:06:00',\n    read: true,\n    subject: lanetrack,\n    context: {\n      type: 'comment',\n      thread: [\n        {\n          author: marcus,\n          at: '2026-11-12T11:32:00',\n          text: 'Procurement came back: they will sign for three years if we hold this year’s price per seat.',\n        },\n        {\n          author: maya,\n          at: '2026-11-12T16:06:00',\n          text: '@Nina Alvarez can you confirm the 12% multi-year discount before I send the order form? Legal signed off on the MSA this morning.',\n        },\n      ],\n    },\n  },\n  {\n    id: 'n2',\n    thread: 'northwind-expansion',\n    actor: marcus,\n    action: 'assigned you',\n    target: 'Northwind Health',\n    reason: 'assigned',\n    preview: 'Expansion to 120 seats across four clinics',\n    at: '2026-11-12T15:02:00',\n    read: false,\n    subject: {\n      kind: 'Deal',\n      section: 'Deals',\n      name: 'Northwind Health · Expansion',\n      facts: [\n        stage('Discovery'),\n        { label: 'Amount', value: '$64,800 a year' },\n        { label: 'Close date', value: 'Jan 15, 2027' },\n        { label: 'Owner', value: 'Nina Alvarez' },\n        { label: 'Plan', value: 'Scale, 120 seats' },\n      ],\n    },\n    context: {\n      type: 'comment',\n      thread: [\n        {\n          author: marcus,\n          at: '2026-11-12T15:02:00',\n          text: 'They are moving all four clinics onto Scale in January. Can you own the commercial side? I will stay on for the rollout.',\n        },\n      ],\n    },\n  },\n  {\n    id: 'n3',\n    thread: 'kestrel-new',\n    actor: priya,\n    action: 'moved',\n    target: 'Kestrel Labs',\n    trail: 'to Closed won',\n    reason: 'following',\n    preview: 'Negotiation → Closed won · $36,000 a year',\n    at: '2026-11-12T13:18:00',\n    read: false,\n    subject: kestrel,\n    context: { type: 'change', field: 'Stage', from: 'Negotiation', to: 'Closed won' },\n  },\n  {\n    id: 'n4',\n    thread: 'halcyon-invoice',\n    actor: null,\n    action: 'Payment failed for',\n    target: 'Halcyon Foods',\n    reason: 'following',\n    preview: 'INV-2214 · $2,400 · Card declined',\n    at: '2026-11-12T09:41:00',\n    read: false,\n    subject: {\n      kind: 'Invoice',\n      section: 'Invoices',\n      name: 'INV-2214 · Halcyon Foods',\n      facts: [\n        { label: 'Amount', value: '$2,400.00' },\n        { label: 'Due', value: 'Nov 12, 2026' },\n        { label: 'Method', value: 'Visa ending 4417' },\n        { label: 'Account owner', value: 'Nina Alvarez' },\n        { label: 'Next retry', value: 'Nov 15, 2026' },\n      ],\n    },\n    context: {\n      type: 'alert',\n      status: 'error',\n      title: 'The card was declined',\n      text: 'Orbit tries again on Nov 15. Ask the customer to update their card before then to keep the account active.',\n    },\n  },\n\n  // Yesterday\n  {\n    id: 'n5',\n    thread: 'atlas-sso',\n    actor: jonas,\n    action: 'mentioned you in',\n    target: 'Atlas Freight',\n    reason: 'mention',\n    preview: 'Atlas asked for a second SSO domain. Is that in Growth or only Scale?',\n    at: '2026-11-11T17:24:00',\n    read: false,\n    subject: {\n      kind: 'Account',\n      section: 'Customers',\n      name: 'Atlas Freight',\n      facts: [\n        { label: 'Plan', value: 'Growth' },\n        { label: 'MRR', value: '$2,350' },\n        { label: 'Seats', value: '46 of 50 in use' },\n        { label: 'Owner', value: 'Nina Alvarez' },\n        { label: 'Renews', value: 'Mar 1, 2027' },\n      ],\n    },\n    context: {\n      type: 'comment',\n      thread: [\n        {\n          author: jonas,\n          at: '2026-11-11T17:24:00',\n          text: '@Nina Alvarez Atlas asked for a second SSO domain for their Rotterdam office. Is that in Growth or only Scale?',\n        },\n      ],\n    },\n  },\n  {\n    id: 'n6',\n    thread: 'brightwave-renewal',\n    actor: kofi,\n    action: 'replied in',\n    target: 'Brightwave',\n    reason: 'following',\n    preview: 'They want quarterly billing instead of annual. I said we would come back by Friday.',\n    at: '2026-11-11T14:10:00',\n    read: true,\n    subject: brightwave,\n    context: {\n      type: 'comment',\n      thread: [\n        {\n          author: nina,\n          at: '2026-11-10T10:05:00',\n          text: 'Sent the renewal quote. Same seats, Growth plan, 4% uplift.',\n        },\n        {\n          author: kofi,\n          at: '2026-11-11T14:10:00',\n          text: 'They want quarterly billing instead of annual. I said we would come back by Friday.',\n        },\n      ],\n    },\n  },\n  {\n    id: 'n7',\n    thread: 'ferro-questionnaire',\n    actor: maya,\n    action: 'assigned you a task in',\n    target: 'Ferro & Co',\n    reason: 'assigned',\n    preview: 'Send the updated security questionnaire · Due Friday',\n    at: '2026-11-11T10:47:00',\n    read: true,\n    subject: {\n      kind: 'Task',\n      section: 'Tasks',\n      name: 'Send the updated security questionnaire',\n      facts: [\n        { label: 'Account', value: 'Ferro & Co' },\n        { label: 'Due', value: 'Nov 13, 2026' },\n        { label: 'Assignee', value: 'Nina Alvarez' },\n        { label: 'Created by', value: 'Maya Chen' },\n      ],\n    },\n    context: {\n      type: 'comment',\n      thread: [\n        {\n          author: maya,\n          at: '2026-11-11T10:47:00',\n          text: 'Their IT team needs the 2026 version with the new data residency answers before the pilot starts.',\n        },\n      ],\n    },\n  },\n  {\n    id: 'n8',\n    thread: 'q4-forecast',\n    actor: leila,\n    action: 'shared a report with you:',\n    target: 'Q4 forecast',\n    reason: 'following',\n    preview: 'Commit and best case by region, updated every Monday',\n    at: '2026-11-11T09:15:00',\n    read: true,\n    subject: {\n      kind: 'Report',\n      section: 'Reports',\n      name: 'Q4 forecast by region',\n      facts: [\n        { label: 'Owner', value: 'Leila Haddad' },\n        { label: 'Period', value: 'Oct 1 – Dec 31, 2026' },\n        { label: 'Updated', value: 'Nov 9, 2026' },\n      ],\n    },\n    context: {\n      type: 'comment',\n      thread: [\n        {\n          author: leila,\n          at: '2026-11-11T09:15:00',\n          text: 'Your Europe numbers are in. Could you check the Brightwave and Lanetrack lines before Monday’s call?',\n        },\n      ],\n    },\n  },\n\n  // Earlier this week\n  {\n    id: 'n9',\n    thread: 'pinecrest-renewal',\n    actor: null,\n    action: '',\n    target: 'Pinecrest Dental',\n    trail: 'renews in 30 days',\n    reason: 'following',\n    preview: '$1,180 MRR on Growth · Renews Dec 10',\n    at: '2026-11-10T08:00:00',\n    read: true,\n    subject: {\n      kind: 'Account',\n      section: 'Customers',\n      name: 'Pinecrest Dental',\n      facts: [\n        { label: 'Plan', value: 'Growth' },\n        { label: 'MRR', value: '$1,180' },\n        { label: 'Renews', value: 'Dec 10, 2026' },\n        { label: 'Owner', value: 'Nina Alvarez' },\n      ],\n    },\n    context: {\n      type: 'alert',\n      status: 'warning',\n      title: 'Renews in 30 days',\n      text: 'Pinecrest Dental renews on Dec 10 with 18 seats on Growth. Usage is down 22% since September.',\n    },\n  },\n  {\n    id: 'n10',\n    thread: 'solace-owner',\n    actor: hana,\n    action: 'made you the owner of',\n    target: 'Solace Clinics',\n    reason: 'assigned',\n    preview: 'Account handed over from Amara Nwosu',\n    at: '2026-11-10T15:36:00',\n    read: true,\n    subject: {\n      kind: 'Account',\n      section: 'Customers',\n      name: 'Solace Clinics',\n      facts: [\n        { label: 'Plan', value: 'Scale' },\n        { label: 'MRR', value: '$4,920' },\n        { label: 'Seats', value: '82 of 90 in use' },\n        { label: 'Owner', value: 'Nina Alvarez' },\n        { label: 'Renews', value: 'Jun 30, 2027' },\n      ],\n    },\n    context: {\n      type: 'comment',\n      thread: [\n        {\n          author: hana,\n          at: '2026-11-10T15:36:00',\n          text: 'Amara is moving to the partnerships team. Solace is healthy; their next review is in January.',\n        },\n      ],\n    },\n  },\n  {\n    id: 'n11',\n    thread: 'kestrel-pricing',\n    actor: priya,\n    action: 'mentioned you in',\n    target: 'Kestrel Labs',\n    reason: 'mention',\n    preview: 'Pricing approved on our side, over to you for the order form.',\n    at: '2026-11-09T16:52:00',\n    read: true,\n    subject: kestrel,\n    context: {\n      type: 'comment',\n      thread: [\n        {\n          author: priya,\n          at: '2026-11-09T16:52:00',\n          text: '@Nina Alvarez pricing approved on our side, over to you for the order form.',\n        },\n      ],\n    },\n  },\n  {\n    id: 'n12',\n    thread: 'brightwave-stage',\n    actor: kofi,\n    action: 'moved',\n    target: 'Brightwave',\n    trail: 'to Negotiation',\n    reason: 'following',\n    preview: 'Proposal → Negotiation · $21,600 a year',\n    at: '2026-11-09T11:20:00',\n    read: true,\n    subject: brightwave,\n    context: { type: 'change', field: 'Stage', from: 'Proposal', to: 'Negotiation' },\n  },\n];\n\nexport type Tab = 'all' | 'mentions' | 'assigned';\n\nexport const TABS: { value: Tab; label: string; includes: (n: Notification) => boolean }[] = [\n  { value: 'all', label: 'All', includes: () => true },\n  { value: 'mentions', label: 'Mentions', includes: (n) => n.reason === 'mention' },\n  { value: 'assigned', label: 'Assigned to me', includes: (n) => n.reason === 'assigned' },\n];\n"
    },
    {
      "path": "src/blocks/notifications/empty-state.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/notifications/empty-state.tsx",
      "content": "'use client';\n\n// TODO(custom): empty state (icon, title, line, action); no EmptyState in Wideset.\nimport type { RemixiconComponentType } from '@remixicon/react';\nimport type { ReactNode } from 'react';\n\n/** What a region shows with nothing in it: why it is empty and the one way forward, centred. */\nexport function EmptyState({\n  icon: Icon,\n  title,\n  description,\n  action,\n}: {\n  icon: RemixiconComponentType;\n  title: string;\n  description: string;\n  action?: ReactNode;\n}) {\n  return (\n    <div className=\"gap-ws-9 px-ws-12 flex flex-col items-center text-center\">\n      <Icon aria-hidden className=\"size-ws-14 text-ws-static-subtle\" />\n      <div className=\"gap-ws-3 flex max-w-[24rem] flex-col\">\n        <p className=\"typography-label-strong-md text-ws-static-strong\">{title}</p>\n        <p className=\"typography-body-md text-ws-static-subtle\">{description}</p>\n      </div>\n      {action}\n    </div>\n  );\n}\n"
    },
    {
      "path": "src/blocks/notifications/facts-list.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/notifications/facts-list.tsx",
      "content": "'use client';\n\n// TODO(custom): key-value facts strip (label above value); no DescriptionList in Wideset.\nimport { StatusBadge } from '@/components/ui/wideset/status-badge/StatusBadge';\n\nimport type { Fact } from './data';\n\n/**\n * A record's facts in one row, each label above its value, so they fit over the story instead of\n * trailing under it. A status reads as a badge in its colour; the row wraps when it runs out of\n * width.\n */\nexport function FactsList({ facts }: { facts: Fact[] }) {\n  return (\n    <dl className=\"gap-x-ws-14 gap-y-ws-9 flex flex-wrap\">\n      {facts.map(({ label, value, status }) => (\n        <div key={label} className=\"gap-ws-3 flex min-w-0 flex-col\">\n          <dt className=\"typography-label-sm text-ws-static-subtle\">{label}</dt>\n          <dd className=\"typography-body-md text-ws-static-base tabular-nums\">\n            {status ? (\n              <StatusBadge size=\"sm\" color={status}>\n                {value}\n              </StatusBadge>\n            ) : (\n              value\n            )}\n          </dd>\n        </div>\n      ))}\n    </dl>\n  );\n}\n"
    },
    {
      "path": "src/blocks/notifications/format.ts",
      "type": "registry:file",
      "target": "blocks/wideset/notifications/format.ts",
      "content": "import { NOW } from './data';\n\n// One locale for the whole screen; swap it for the user's.\nconst LOCALE = 'en-US';\nconst MINUTE = 60_000;\nconst DAY = 24 * 60 * MINUTE;\n\nconst time = new Intl.DateTimeFormat(LOCALE, { hour: 'numeric', minute: '2-digit' });\nconst weekday = new Intl.DateTimeFormat(LOCALE, { weekday: 'long' });\nconst dateTime = new Intl.DateTimeFormat(LOCALE, { dateStyle: 'medium', timeStyle: 'short' });\n\nconst startOfDay = (value: Date) =>\n  new Date(value.getFullYear(), value.getMonth(), value.getDate()).getTime();\n/** Whole calendar days between `iso` and now: 0 today, 1 yesterday. */\nconst daysAgo = (iso: string) => Math.round((startOfDay(NOW) - startOfDay(new Date(iso))) / DAY);\n\n/** The list's day groups, newest first. Weeks start on Monday. */\nexport const GROUPS = ['Today', 'Yesterday', 'Earlier this week', 'Older'] as const;\nexport type Group = (typeof GROUPS)[number];\n\nexport function groupOf(iso: string): Group {\n  const days = daysAgo(iso);\n  if (days === 0) return 'Today';\n  if (days === 1) return 'Yesterday';\n  const sinceMonday = (NOW.getDay() + 6) % 7;\n  return days <= sinceMonday ? 'Earlier this week' : 'Older';\n}\n\n/** Compact age for a list row: \"14m\", \"3h\", \"2d\". The group heading carries the day. */\nexport function formatAge(iso: string) {\n  const minutes = Math.max(1, Math.round((NOW.getTime() - new Date(iso).getTime()) / MINUTE));\n  if (minutes < 60) return `${minutes}m`;\n  if (minutes < 24 * 60) return `${Math.floor(minutes / 60)}h`;\n  return `${Math.max(1, daysAgo(iso))}d`;\n}\n\n/** When, in words: \"Today at 4:06 PM\", \"Yesterday at 5:24 PM\", \"Monday at 4:52 PM\". */\nexport function formatWhen(iso: string) {\n  const days = daysAgo(iso);\n  const day = days === 0 ? 'Today' : days === 1 ? 'Yesterday' : weekday.format(new Date(iso));\n  return `${day} at ${time.format(new Date(iso))}`;\n}\n\n/** The exact moment, for the `title` beside a relative time. */\nexport const formatDateTime = (iso: string) => dateTime.format(new Date(iso));\n"
    },
    {
      "path": "src/blocks/notifications/index.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/notifications/index.tsx",
      "content": "'use client';\n\nimport '@/styles/wideset-blocks.css';\n\nimport { RiCheckDoubleLine } from '@remixicon/react';\nimport { AppShell } from '@/components/ui/wideset/app-shell/AppShell';\nimport { Button } from '@/components/ui/wideset/button/Button';\nimport { Toast } from '@/components/ui/wideset/toast/Toast';\nimport { ToastProvider, useToast } from '@/components/ui/wideset/toast/Toast.context';\nimport { useEffect, useRef, useState } from 'react';\n\nimport {\n  account,\n  type Message,\n  type Notification,\n  notifications as initialNotifications,\n  NOW,\n  type Tab,\n  TABS,\n} from './data';\nimport { EmptyState } from './empty-state';\nimport { NotificationDetail } from './notification-detail';\nimport { NotificationList } from './notification-list';\nimport { InboxSidebar } from './sidebar';\n\nconst EMPTY: Record<Tab, { title: string; description: string }> = {\n  all: {\n    title: 'You’re all caught up',\n    description: 'Mentions, assignments and changes to the deals you follow show up here.',\n  },\n  mentions: {\n    title: 'No mentions',\n    description: `When someone writes @${account.name} in a comment or a note, it shows up here.`,\n  },\n  assigned: {\n    title: 'Nothing assigned to you',\n    description: 'Deals, accounts and tasks someone hands over to you show up here.',\n  },\n};\n\n/** Where the arrow keys move the selection: the page itself, the tabs and the list under them. */\nconst LIST = '[role=\"tablist\"], [role=\"tabpanel\"]';\n\nconst includes = (tab: Tab) => TABS.find((entry) => entry.value === tab)!.includes;\n\n/** The page: the list beside the open notification, and the toasts their actions raise. */\nfunction Inbox() {\n  const { showToast, dismissToast } = useToast();\n  const [items, setItems] = useState(initialNotifications);\n  const [tab, setTab] = useState<Tab>('all');\n  const [selectedId, setSelectedId] = useState<string | null>(initialNotifications[0].id);\n  const [replies, setReplies] = useState<Record<string, Message[]>>({});\n  const rows = useRef(new Map<string, HTMLButtonElement>());\n\n  const shown = items.filter(includes(tab));\n  const selected = shown.find((n) => n.id === selectedId) ?? null;\n  const unread = items.filter((n) => !n.read).length;\n\n  /** Opening a notification reads it. */\n  const select = (id: string | null) => {\n    setSelectedId(id);\n    if (id) setItems((current) => current.map((n) => (n.id === id ? { ...n, read: true } : n)));\n  };\n\n  // The arrow keys move the selection through the open tab while focus is on the page or in the\n  // list; the sidebar, the detail and the menus keep their own keys.\n  const move = useRef<(step: number) => void>(() => {});\n  move.current = (step) => {\n    const index = shown.findIndex((n) => n.id === selectedId);\n    const next = shown[Math.min(Math.max(index + step, 0), shown.length - 1)];\n    if (!next || next.id === selectedId) return;\n    select(next.id);\n    rows.current.get(next.id)?.focus();\n  };\n  useEffect(() => {\n    const onKeyDown = (event: KeyboardEvent) => {\n      if (event.key !== 'ArrowDown' && event.key !== 'ArrowUp') return;\n      const target = event.target as Element;\n      if (target !== document.body && !target.closest(LIST)) return;\n      event.preventDefault();\n      move.current(event.key === 'ArrowDown' ? 1 : -1);\n    };\n    window.addEventListener('keydown', onKeyDown);\n    return () => window.removeEventListener('keydown', onKeyDown);\n  }, []);\n\n  const changeTab = (next: Tab) => {\n    setTab(next);\n    const inTab = items.filter(includes(next));\n    if (!inTab.some((n) => n.id === selectedId)) select(inTab[0]?.id ?? null);\n  };\n\n  /** Shows what an action did, with an Undo that puts the list back as it was. */\n  const undoable = (content: string) => {\n    const before = { items, selectedId };\n    const id = showToast({\n      content,\n      action: (\n        <Toast.Action\n          preset=\"ghost\"\n          onClick={() => {\n            setItems(before.items);\n            setSelectedId(before.selectedId);\n            dismissToast(id);\n          }}\n        >\n          Undo\n        </Toast.Action>\n      ),\n    });\n  };\n\n  const markAllRead = () => {\n    setItems(items.map((n) => ({ ...n, read: true })));\n    undoable(`${unread} ${unread === 1 ? 'notification' : 'notifications'} marked as read`);\n  };\n\n  const toggleRead = (notification: Notification) =>\n    setItems(items.map((n) => (n.id === notification.id ? { ...n, read: !n.read } : n)));\n\n  /** Muting hides the whole thread; the selection moves on to the next notification. */\n  const mute = (notification: Notification) => {\n    const index = shown.findIndex((n) => n.id === notification.id);\n    const rest = shown.filter((n) => n.thread !== notification.thread);\n    const next = rest[Math.min(index, rest.length - 1)];\n    setItems(items.filter((n) => n.thread !== notification.thread));\n    select(next?.id ?? null);\n    undoable(`Muted ${notification.subject.name}`);\n  };\n\n  const reply = (notification: Notification, text: string) => {\n    const message = { author: account, at: NOW.toISOString(), text };\n    setReplies({ ...replies, [notification.id]: [...(replies[notification.id] ?? []), message] });\n    showToast({ status: 'success', content: 'Reply sent' });\n  };\n\n  return (\n    <AppShell className=\"ws-block-utility\" direction=\"frame\">\n      <InboxSidebar unread={unread} />\n      <AppShell.Main className=\"flex\">\n        <NotificationList\n          notifications={items}\n          tab={tab}\n          onTabChange={changeTab}\n          selectedId={selected?.id ?? null}\n          onSelect={select}\n          onMarkAllRead={markAllRead}\n          rowRef={(id) => (row) => {\n            if (row) rows.current.set(id, row);\n            else rows.current.delete(id);\n          }}\n        />\n        {selected ? (\n          <NotificationDetail\n            key={selected.id}\n            notification={selected}\n            replies={replies[selected.id] ?? []}\n            onReply={(text) => reply(selected, text)}\n            onToggleRead={() => toggleRead(selected)}\n            onMute={() => mute(selected)}\n          />\n        ) : (\n          <div className=\"flex min-w-0 flex-1 items-center justify-center\">\n            <EmptyState\n              icon={RiCheckDoubleLine}\n              {...EMPTY[tab]}\n              action={\n                tab === 'all' ? undefined : (\n                  <Button\n                    size=\"sm\"\n                    variant=\"secondary\"\n                    preset=\"border\"\n                    onClick={() => changeTab('all')}\n                  >\n                    Show all notifications\n                  </Button>\n                )\n              }\n            />\n          </div>\n        )}\n      </AppShell.Main>\n    </AppShell>\n  );\n}\n\n/**\n * Notifications (Frame direction): an inbox beside the open notification. The tabs filter it, the\n * arrow keys move through it, and opening a notification reads it.\n */\nexport default function Notifications() {\n  return (\n    <ToastProvider position=\"bottom-center\">\n      <Inbox />\n    </ToastProvider>\n  );\n}\n"
    },
    {
      "path": "src/blocks/notifications/notification-detail.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/notifications/notification-detail.tsx",
      "content": "'use client';\n\nimport {\n  RiArrowRightLine,\n  RiMailOpenLine,\n  RiMailUnreadLine,\n  RiNotificationOffLine,\n} from '@remixicon/react';\nimport { Button } from '@/components/ui/wideset/button/Button';\nimport { IconButton } from '@/components/ui/wideset/button/IconButton';\nimport { InlineAlert } from '@/components/ui/wideset/inline-alert/InlineAlert';\nimport { StatusBadge } from '@/components/ui/wideset/status-badge/StatusBadge';\nimport { Textarea } from '@/components/ui/wideset/textarea/Textarea';\nimport { Tooltip } from '@/components/ui/wideset/tooltip/Tooltip';\nimport { type FormEvent, type ReactNode, useId, useState } from 'react';\n\nimport { CommentThread } from './comment-thread';\nimport { type Message, type Notification, stageColor } from './data';\nimport { FactsList } from './facts-list';\nimport { formatDateTime, formatWhen } from './format';\nimport { Actor, Sentence } from './notification-row';\n\n/** A ghost icon button with its name in a tooltip: the detail's quiet actions. */\nfunction Action({\n  icon,\n  label,\n  onClick,\n}: {\n  icon: typeof RiMailOpenLine;\n  label: string;\n  onClick: () => void;\n}) {\n  return (\n    <Tooltip size=\"sm\">\n      <Tooltip.Trigger asChild>\n        <IconButton\n          icon={icon}\n          variant=\"secondary\"\n          preset=\"ghost\"\n          size=\"sm\"\n          aria-label={label}\n          onClick={onClick}\n        />\n      </Tooltip.Trigger>\n      <Tooltip.Content className=\"ws-block-utility\" side=\"bottom\">\n        <Tooltip.Label>{label}</Tooltip.Label>\n      </Tooltip.Content>\n    </Tooltip>\n  );\n}\n\n/** Answers the thread in place; the reply joins it. */\nfunction ReplyForm({ to, onReply }: { to: string; onReply: (text: string) => void }) {\n  const [draft, setDraft] = useState('');\n  const submit = (event: FormEvent) => {\n    event.preventDefault();\n    const text = draft.trim();\n    if (!text) return;\n    onReply(text);\n    setDraft('');\n  };\n  return (\n    <form onSubmit={submit} className=\"gap-ws-5 flex flex-col\">\n      <Textarea\n        aria-label=\"Reply\"\n        placeholder={`Reply to ${to.split(' ')[0]}…`}\n        rows={3}\n        resize=\"none\"\n        value={draft}\n        onChange={(event) => setDraft(event.target.value)}\n        onKeyDown={(event) => {\n          if (event.key === 'Enter' && (event.metaKey || event.ctrlKey)) submit(event);\n        }}\n      />\n      <Button type=\"submit\" size=\"sm\" variant=\"secondary\" preset=\"border\" className=\"self-end\">\n        Reply\n      </Button>\n    </form>\n  );\n}\n\ntype NotificationDetailProps = {\n  notification: Notification;\n  /** Replies written here, after the thread's own messages. */\n  replies: Message[];\n  onReply: (text: string) => void;\n  onToggleRead: () => void;\n  onMute: () => void;\n};\n\n/**\n * The open notification: what it is about and the way to it, the record's facts in one row under\n * its title, then what happened (the comment, the change, the alert).\n */\nexport function NotificationDetail({\n  notification,\n  replies,\n  onReply,\n  onToggleRead,\n  onMute,\n}: NotificationDetailProps) {\n  const { subject, context } = notification;\n  const titleId = useId();\n\n  let story: ReactNode;\n  if (context.type === 'comment') {\n    const thread = [...context.thread, ...replies];\n    story = (\n      <div className=\"gap-ws-12 flex flex-col\">\n        <CommentThread messages={thread} />\n        <ReplyForm to={context.thread[context.thread.length - 1].author.name} onReply={onReply} />\n      </div>\n    );\n  } else if (context.type === 'change') {\n    story = (\n      <div className=\"gap-ws-7 flex\">\n        <Actor notification={notification} />\n        <div className=\"gap-ws-5 flex min-w-0 flex-1 flex-col\">\n          <p className=\"gap-ws-5 flex items-baseline\">\n            <span className=\"typography-body-md text-ws-static-base\">\n              <Sentence notification={notification} emphasis />\n            </span>\n            <time\n              dateTime={notification.at}\n              title={formatDateTime(notification.at)}\n              className=\"typography-label-sm text-ws-static-subtle shrink-0\"\n            >\n              {formatWhen(notification.at)}\n            </time>\n          </p>\n          <div className=\"gap-ws-5 flex items-center\">\n            <span className=\"typography-label-sm text-ws-static-subtle\">{context.field}</span>\n            <StatusBadge size=\"sm\" color={stageColor(context.from)}>\n              <StatusBadge.Label>{context.from}</StatusBadge.Label>\n            </StatusBadge>\n            <RiArrowRightLine aria-hidden className=\"size-ws-9 text-ws-static-subtle\" />\n            <span className=\"sr-only\">to</span>\n            <StatusBadge size=\"sm\" color={stageColor(context.to)}>\n              <StatusBadge.Label>{context.to}</StatusBadge.Label>\n            </StatusBadge>\n          </div>\n        </div>\n      </div>\n    );\n  } else {\n    story = (\n      <InlineAlert\n        status={context.status}\n        orientation=\"vertical\"\n        persistent\n        title={context.title}\n        message={context.text}\n      />\n    );\n  }\n\n  return (\n    <section aria-labelledby={titleId} className=\"flex min-w-0 flex-1 flex-col\">\n      <header className=\"h-ws-24 border-ws-static-subtle shrink-0 border-b\">\n        <div className=\"gap-ws-9 px-ws-12 mx-auto flex h-full w-full max-w-[48rem] items-center justify-between\">\n          <div className=\"gap-ws-2 flex min-w-0 flex-col\">\n            <p className=\"typography-label-sm text-ws-static-subtle\">{subject.kind}</p>\n            <h2 id={titleId} className=\"typography-subtitle-xs text-ws-static-strong truncate\">\n              {subject.name}\n            </h2>\n          </div>\n          <div className=\"gap-ws-5 flex shrink-0 items-center\">\n            <Action\n              icon={notification.read ? RiMailUnreadLine : RiMailOpenLine}\n              label={notification.read ? 'Mark as unread' : 'Mark as read'}\n              onClick={onToggleRead}\n            />\n            <Action icon={RiNotificationOffLine} label=\"Mute this thread\" onClick={onMute} />\n            <Button size=\"sm\" asChild>\n              <a href={`#${notification.thread}`}>Open {subject.kind.toLowerCase()}</a>\n            </Button>\n          </div>\n        </div>\n      </header>\n\n      <div className=\"ws-scrollbar min-h-0 flex-1 overflow-y-auto\">\n        <div className=\"gap-ws-12 px-ws-12 py-ws-12 mx-auto flex w-full max-w-[48rem] flex-col\">\n          {/* The facts lead, under the title they describe: below a long thread they would\n              slide out of sight. A line closes them off from what happened. */}\n          <section aria-label=\"Details\" className=\"pb-ws-12 border-ws-static-subtle border-b\">\n            <FactsList facts={subject.facts} />\n          </section>\n          {story}\n        </div>\n      </div>\n    </section>\n  );\n}\n"
    },
    {
      "path": "src/blocks/notifications/notification-list.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/notifications/notification-list.tsx",
      "content": "'use client';\n\nimport { RiCheckDoubleLine } from '@remixicon/react';\nimport { Button } from '@/components/ui/wideset/button/Button';\nimport { Tabs } from '@/components/ui/wideset/tabs/Tabs';\nimport { useId } from 'react';\n\nimport { type Notification, type Tab, TABS } from './data';\nimport { groupOf, GROUPS } from './format';\nimport { NotificationRow } from './notification-row';\n\ntype NotificationListProps = {\n  notifications: Notification[];\n  tab: Tab;\n  onTabChange: (tab: Tab) => void;\n  selectedId: string | null;\n  onSelect: (id: string) => void;\n  onMarkAllRead: () => void;\n  /** Where the rows register themselves, so the arrow keys can move focus with the selection. */\n  rowRef: (id: string) => (row: HTMLButtonElement | null) => void;\n};\n\n/**\n * The inbox column: its title and one bulk action, the tabs, and the notifications of the open\n * tab grouped by day, newest first. The unread dot on a row says what is new.\n */\nexport function NotificationList({\n  notifications,\n  tab,\n  onTabChange,\n  selectedId,\n  onSelect,\n  onMarkAllRead,\n  rowRef,\n}: NotificationListProps) {\n  const titleId = useId();\n  const allRead = notifications.every((n) => n.read);\n\n  return (\n    <section\n      aria-labelledby={titleId}\n      className=\"border-ws-static-subtle flex w-[28rem] shrink-0 flex-col border-r\"\n    >\n      <Tabs\n        value={tab}\n        onValueChange={(value) => onTabChange(value as Tab)}\n        className=\"min-h-0 flex-1\"\n      >\n        {/* 96px, as the detail's header: the two lines meet across the page. */}\n        <div className=\"h-ws-24 flex shrink-0 flex-col justify-end\">\n          <div className=\"gap-ws-9 px-ws-11 flex flex-1 items-center justify-between\">\n            <h1 id={titleId} className=\"typography-title-sm text-ws-static-strong\">\n              Inbox\n            </h1>\n            <Button\n              size=\"sm\"\n              variant=\"secondary\"\n              preset=\"ghost\"\n              disabled={allRead}\n              onClick={onMarkAllRead}\n            >\n              <Button.Icon icon={RiCheckDoubleLine} />\n              Mark all as read\n            </Button>\n          </div>\n          <Tabs.List aria-label=\"Notifications\" className=\"px-ws-11 w-full\">\n            {TABS.map(({ value, label }) => (\n              <Tabs.Item key={value} value={value}>\n                <Tabs.Label>{label}</Tabs.Label>\n              </Tabs.Item>\n            ))}\n          </Tabs.List>\n        </div>\n\n        {TABS.map(({ value, includes }) => {\n          const shown = notifications.filter(includes);\n          return (\n            <Tabs.Content\n              key={value}\n              value={value}\n              className=\"px-ws-5 pb-ws-7 ws-scrollbar min-h-0 flex-1 overflow-y-auto\"\n            >\n              {shown.length === 0 ? (\n                <p role=\"status\" className=\"sr-only\">\n                  No notifications here\n                </p>\n              ) : (\n                GROUPS.map((group) => {\n                  const items = shown.filter((n) => groupOf(n.at) === group);\n                  if (items.length === 0) return null;\n                  return (\n                    <section key={group} aria-label={group}>\n                      <h2 className=\"px-ws-7 pt-ws-9 pb-ws-3 typography-label-sm text-ws-static-subtle\">\n                        {group}\n                      </h2>\n                      <ul className=\"flex flex-col\">\n                        {items.map((notification) => (\n                          <li key={notification.id}>\n                            <NotificationRow\n                              ref={rowRef(notification.id)}\n                              notification={notification}\n                              selected={notification.id === selectedId}\n                              onSelect={() => onSelect(notification.id)}\n                            />\n                          </li>\n                        ))}\n                      </ul>\n                    </section>\n                  );\n                })\n              )}\n            </Tabs.Content>\n          );\n        })}\n      </Tabs>\n    </section>\n  );\n}\n"
    },
    {
      "path": "src/blocks/notifications/notification-row.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/notifications/notification-row.tsx",
      "content": "'use client';\n\n// TODO(custom): notification row (actor, sentence, preview, age, unread dot); ListItem is a one-line menu row with a brand-tinted checked state.\nimport { RiBankCardLine, RiCalendarScheduleLine } from '@remixicon/react';\nimport { Avatar } from '@/components/ui/wideset/avatar/Avatar';\nimport { cn } from '@/lib/wideset/utils';\nimport { forwardRef } from 'react';\n\nimport type { Notification } from './data';\nimport { formatAge, formatDateTime } from './format';\nimport { PersonAvatar } from './person-avatar';\n\n/**\n * Who did it: a person's initials, or, when Orbit itself reports it, an icon for what it is about\n * (a payment, a renewal) in the same neutral circle.\n */\nexport function Actor({ notification }: { notification: Notification }) {\n  const { actor, subject } = notification;\n  if (actor) return <PersonAvatar name={actor.name} initials={actor.initials} aria-hidden />;\n  const Icon = subject.kind === 'Invoice' ? RiBankCardLine : RiCalendarScheduleLine;\n  return <Avatar icon={<Icon />} aria-hidden />;\n}\n\n/**\n * The notification as one sentence: who, what, and on what. The actor and the target are what the\n * eye looks for: `emphasis` gives them weight (an unread row, the open detail).\n */\nexport function Sentence({\n  notification,\n  emphasis,\n}: {\n  notification: Notification;\n  emphasis: boolean;\n}) {\n  const { actor, action, target, trail } = notification;\n  const name = emphasis ? 'text-ws-static-strong font-ws-medium' : undefined;\n  return (\n    <>\n      {actor && <span className={name}>{actor.name}</span>}\n      {actor && ' '}\n      {action && `${action} `}\n      <span className={name}>{target}</span>\n      {trail && ` ${trail}`}\n    </>\n  );\n}\n\ntype NotificationRowProps = {\n  notification: Notification;\n  selected: boolean;\n  onSelect: () => void;\n};\n\n/**\n * One notification in the list: one target across the whole row. Unread rows carry weight and a\n * dot; the open one takes the neutral selected fill of the sidebar's active item.\n */\nexport const NotificationRow = forwardRef<HTMLButtonElement, NotificationRowProps>(\n  ({ notification, selected, onSelect }, ref) => {\n    const unread = !notification.read;\n    return (\n      <button\n        ref={ref}\n        type=\"button\"\n        aria-current={selected || undefined}\n        onClick={onSelect}\n        className={cn(\n          'gap-ws-7 px-ws-7 py-ws-6 rounded-ws-control-lg flex w-full items-start text-left',\n          'hover:bg-ws-static-alpha-subtle aria-[current=true]:bg-ws-dynamic-tertiary-alpha-strong-default',\n          'focus-visible:wds-focus-visible outline-ws-dynamic-primary-strong-default focus-visible:-outline-offset-2',\n        )}\n      >\n        <Actor notification={notification} />\n        <span className=\"gap-ws-2 flex min-w-0 flex-1 flex-col\">\n          <span className=\"gap-ws-5 flex items-start\">\n            <span className=\"typography-body-md text-ws-static-base line-clamp-2 min-w-0 flex-1\">\n              <Sentence notification={notification} emphasis={unread} />\n            </span>\n            <time\n              dateTime={notification.at}\n              title={formatDateTime(notification.at)}\n              className=\"typography-label-sm text-ws-static-subtle shrink-0 tabular-nums\"\n            >\n              {formatAge(notification.at)}\n            </time>\n          </span>\n          <span className=\"gap-ws-5 flex items-center\">\n            <span className=\"typography-label-sm text-ws-static-subtle min-w-0 flex-1 truncate\">\n              {notification.preview}\n            </span>\n            {unread && (\n              <span className=\"bg-ws-dynamic-primary-default rounded-ws-control-full size-ws-4 shrink-0\">\n                <span className=\"sr-only\">Unread</span>\n              </span>\n            )}\n          </span>\n        </span>\n      </button>\n    );\n  },\n);\nNotificationRow.displayName = 'NotificationRow';\n"
    },
    {
      "path": "src/blocks/notifications/people.assets.ts",
      "type": "registry:file",
      "target": "blocks/wideset/notifications/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  'Priya Raman':\n    'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADb/2wBDAAQDAwQDAwQEBAQFBQQFBwsHBwYGBw4KCggLEA4RERAOEA8SFBoWEhMYEw8QFh8XGBsbHR0dERYgIh8cIhocHRz/2wBDAQUFBQcGBw0HBw0cEhASHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwc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aihs7JT3Jl6QCBnekikfOCfvSpJyjrvWB/5GX3P8iDThpa0nmSFeBNPlqlOtrS2tWWemD1HpTGghtqG3nBUlJPoBk06NHKfv1oSGyWT//Z',\n};\n"
    },
    {
      "path": "src/blocks/notifications/person-avatar.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/notifications/person-avatar.tsx",
      "content": "'use client';\n\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' | 'shape' | 'status' | 'color' | 'className' | 'title' | 'aria-hidden' | 'aria-label'\n> & {\n  /** The person's full name: the key their photo is filed under. */\n  name: string;\n  initials: string;\n  /** Leave empty beside the person's name; pass the name where the avatar stands alone. */\n  alt?: string;\n};\n\n/**\n * A person's avatar: their photo when the sample people have one, otherwise their initials in\n * their colour. A real product mixes the two, so every place the block draws a person asks here\n * and the choice is made once. The initials stay as the fallback if the image fails to load.\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/notifications/sidebar.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/notifications/sidebar.tsx",
      "content": "'use client';\n\n// TODO(custom): account menu trigger is composed by hand; no account switcher in Wideset.\nimport { RiArrowDownSLine } from '@remixicon/react';\nimport { DropdownMenu } from '@/components/ui/wideset/dropdown/DropdownMenu';\nimport { ListItem } from '@/components/ui/wideset/list-item/ListItem';\nimport { Sidebar } from '@/components/ui/wideset/sidebar/Sidebar';\nimport { useState } from 'react';\n\nimport { BrandMark } from './brand-mark';\nimport { account, navigation, workspace, workspaceNavigation } from './data';\nimport { PersonAvatar } from './person-avatar';\n\n/** The account menu: who is signed in, their settings and sign-out. */\nfunction AccountMenu() {\n  return (\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} status=\"online\" />\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-label-sm text-ws-static-subtle truncate\">\n              {account.role}\n            </span>\n          </span>\n          <RiArrowDownSLine aria-hidden=\"true\" className=\"size-ws-9 text-ws-static-strong\" />\n        </button>\n      </DropdownMenu.Trigger>\n      <DropdownMenu.Content side=\"top\" align=\"start\" className=\"ws-block-utility w-[13.875rem]\">\n        <DropdownMenu.Item>\n          <ListItem.Prefix>\n            <PersonAvatar name={account.name} initials={account.initials} status=\"online\" />\n          </ListItem.Prefix>\n          <ListItem.Content>\n            <ListItem.Label>{account.name}</ListItem.Label>\n            <ListItem.Description>{account.email}</ListItem.Description>\n          </ListItem.Content>\n        </DropdownMenu.Item>\n        <DropdownMenu.Separator />\n        <DropdownMenu.Item>\n          <ListItem.Content>\n            <ListItem.Label>Notification settings</ListItem.Label>\n          </ListItem.Content>\n        </DropdownMenu.Item>\n        <DropdownMenu.Item>\n          <ListItem.Content>\n            <ListItem.Label>Preferences</ListItem.Label>\n          </ListItem.Content>\n        </DropdownMenu.Item>\n        <DropdownMenu.Separator />\n        <DropdownMenu.Item variant=\"danger\">\n          <ListItem.Content>\n            <ListItem.Label>Log out</ListItem.Label>\n          </ListItem.Content>\n        </DropdownMenu.Item>\n      </DropdownMenu.Content>\n    </DropdownMenu>\n  );\n}\n\n/** The app sidebar (Frame direction: a grey tint beside the white page). */\nexport function InboxSidebar({ unread }: { unread: number }) {\n  const [active, setActive] = useState('inbox');\n\n  const item = ({ id, label, icon }: (typeof navigation)[number]) => (\n    <Sidebar.Item\n      key={id}\n      href={`#${id}`}\n      icon={icon}\n      label={label}\n      suffix={id === 'inbox' && unread > 0 ? unread : undefined}\n      active={active === id}\n      onClick={() => setActive(id)}\n    />\n  );\n\n  const nav = (\n    <nav aria-label=\"Main\" className=\"gap-ws-7 flex flex-col\">\n      <div className=\"flex flex-col\">{navigation.map(item)}</div>\n      <div role=\"group\" aria-labelledby=\"sidebar-workspace\" className=\"gap-ws-2 flex flex-col\">\n        <Sidebar.SectionHeader id=\"sidebar-workspace\">Workspace</Sidebar.SectionHeader>\n        {workspaceNavigation.map(item)}\n      </div>\n    </nav>\n  );\n\n  return (\n    <Sidebar>\n      <Sidebar.Header>\n        <Sidebar.Expanded>\n          <div className=\"gap-ws-7 py-ws-3 pl-ws-5 flex items-center\">\n            <BrandMark />\n            <span className=\"typography-label-strong-sm text-ws-static-strong min-w-0 flex-1 truncate\">\n              {workspace.name}\n            </span>\n            <Sidebar.Trigger />\n          </div>\n        </Sidebar.Expanded>\n        <Sidebar.Collapsed>\n          <div className=\"gap-ws-7 flex flex-col items-center\">\n            <BrandMark label={workspace.name} />\n            <Sidebar.Trigger />\n          </div>\n        </Sidebar.Collapsed>\n      </Sidebar.Header>\n\n      <Sidebar.Section scrollable>{nav}</Sidebar.Section>\n\n      <Sidebar.Footer>\n        <Sidebar.Expanded>\n          <AccountMenu />\n        </Sidebar.Expanded>\n        <Sidebar.Collapsed>\n          <PersonAvatar\n            name={account.name}\n            initials={account.initials}\n            status=\"online\"\n            alt={account.name}\n            aria-label={account.name}\n          />\n        </Sidebar.Collapsed>\n      </Sidebar.Footer>\n    </Sidebar>\n  );\n}\n"
    }
  ],
  "meta": {
    "version": "1.1.0",
    "commit": "a734f9f0"
  }
}
