{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "block-help-center",
  "type": "registry:block",
  "title": "Help center",
  "description": "Help inside the product on a raised page: a search that turns the page into its matches, the topics as tiles, popular articles and the ways to reach support.",
  "dependencies": [
    "@remixicon/react@^4.9.0"
  ],
  "registryDependencies": [
    "https://wideset.co/r/action-tile.json",
    "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/card.json",
    "https://wideset.co/r/divider.json",
    "https://wideset.co/r/dropdown-menu.json",
    "https://wideset.co/r/icon-button.json",
    "https://wideset.co/r/illustration.json",
    "https://wideset.co/r/list-item.json",
    "https://wideset.co/r/sidebar.json",
    "https://wideset.co/r/text-input.json",
    "https://wideset.co/r/utils.json"
  ],
  "files": [
    {
      "path": "src/blocks/help-center/article-links.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/help-center/article-links.tsx",
      "content": "'use client';\n\n// TODO(custom): article link row (title, topic); ListItem is a div with no link of its own, ActionTile is a bordered tile.\nimport { Card } from '@/components/ui/wideset/card/Card';\nimport { useId } from 'react';\n\nimport type { Article } from './data';\n\n/**\n * A titled list of articles in a card, each row one link across its width: the title, and on\n * the right the topic it belongs to. The hover fill reaches past the text so the titles stay on\n * the card title's edge. Rows, not tiles: it reads as a list of links to work through.\n */\nexport function ArticleLinks({ title, articles }: { title: string; articles: Article[] }) {\n  const id = useId();\n\n  return (\n    <Card role=\"region\" aria-labelledby={id}>\n      <Card.Header>\n        <h2 id={id} className=\"typography-label-strong-md text-ws-static-strong\">\n          {title}\n        </h2>\n      </Card.Header>\n      {/* Card.Content keeps 10px free on its right for a scrollbar: the padding gives it back.\n          The rows bring their own height, so the content keeps less above and below them. */}\n      <Card.Content contentClassName=\"pr-ws-6 py-ws-7\">\n        <ul className=\"-mx-ws-5 flex flex-col\">\n          {articles.map((article) => (\n            <li key={article.id}>\n              <a\n                href={`#articles/${article.id}`}\n                className=\"h-ws-15 gap-ws-9 px-ws-5 rounded-ws-control-lg hover:bg-ws-dynamic-secondary-alpha-hover focus-visible:wds-focus-visible outline-ws-dynamic-primary-strong-default flex items-center\"\n              >\n                <span className=\"typography-label-sm text-ws-static-strong min-w-0 flex-1 truncate\">\n                  {article.title}\n                </span>\n                <span className=\"typography-label-sm text-ws-static-subtle shrink-0\">\n                  {article.topic}\n                </span>\n              </a>\n            </li>\n          ))}\n        </ul>\n      </Card.Content>\n    </Card>\n  );\n}\n"
    },
    {
      "path": "src/blocks/help-center/article-search.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/help-center/article-search.tsx",
      "content": "'use client';\n\nimport { RiSearchLine } from '@remixicon/react';\nimport { Button } from '@/components/ui/wideset/button/Button';\nimport { TextInput } from '@/components/ui/wideset/text-input/TextInput';\nimport { type KeyboardEvent, useId, useRef, useState } from 'react';\n\nimport { type Article, articles } from './data';\nimport { EmptyState } from './empty-state';\nimport { SearchResultRow } from './search-result';\nimport { TextLink } from './text-link';\n\ntype ArticleSearchProps = {\n  query: string;\n  onQueryChange: (query: string) => void;\n};\n\n/**\n * The page's main control: one large field over every article. Typing turns the page under it\n * into the matches, the matched words marked; the field keeps the focus, the arrow keys move\n * the highlight (the field points at it for screen readers), Enter opens it and Esc clears. With\n * nothing found it offers the support team, the page's one filled button while it shows.\n */\nexport function ArticleSearch({ query, onQueryChange }: ArticleSearchProps) {\n  const id = useId();\n  const input = useRef<HTMLInputElement>(null);\n  const [active, setActive] = useState(0);\n\n  const term = query.trim();\n  const found = term\n    ? articles.filter((article) => article.title.toLowerCase().includes(term.toLowerCase()))\n    : [];\n  const current = found[active];\n  const optionId = (article: Article) => `${id}-${article.id}`;\n\n  const search = (value: string) => {\n    onQueryChange(value);\n    setActive(0);\n  };\n\n  const open = (article: Article) => window.location.assign(`#articles/${article.id}`);\n\n  const onKeyDown = (event: KeyboardEvent) => {\n    if (event.key === 'ArrowDown' || event.key === 'ArrowUp') {\n      event.preventDefault();\n      const next = found[active + (event.key === 'ArrowDown' ? 1 : -1)];\n      if (!next) return;\n      setActive(found.indexOf(next));\n      document.getElementById(optionId(next))?.scrollIntoView({ block: 'nearest' });\n    } else if (event.key === 'Enter' && current) {\n      open(current);\n    } else if (event.key === 'Escape') {\n      search('');\n    }\n  };\n\n  return (\n    <div className=\"gap-ws-12 flex flex-col\">\n      <TextInput\n        ref={input}\n        size=\"lg\"\n        value={query}\n        onChange={(event) => search(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 help articles, for example “import customers”\"\n          aria-label=\"Search help articles\"\n          role=\"combobox\"\n          aria-autocomplete=\"list\"\n          aria-expanded={found.length > 0}\n          aria-controls={`${id}-results`}\n          aria-activedescendant={current && optionId(current)}\n          onKeyDown={onKeyDown}\n        />\n        <TextInput.Suffix inner>\n          <TextInput.ClearButton aria-label=\"Clear search\" />\n        </TextInput.Suffix>\n      </TextInput>\n\n      {term &&\n        (found.length > 0 ? (\n          <section aria-label=\"Search results\" className=\"gap-ws-9 flex flex-col\">\n            {/* The screen counts here: how many articles the words found. */}\n            <p role=\"status\" className=\"typography-body-md text-ws-static-subtle\">\n              {found.length === 1 ? '1 article' : `${found.length} articles`} for “{term}”\n            </p>\n            <ul id={`${id}-results`} role=\"listbox\" aria-label=\"Articles\">\n              {found.map((article, position) => (\n                <SearchResultRow\n                  key={article.id}\n                  id={optionId(article)}\n                  article={article}\n                  query={term}\n                  active={position === active}\n                  onActivate={() => setActive(position)}\n                  onOpen={() => open(article)}\n                />\n              ))}\n            </ul>\n            <p className=\"typography-body-md text-ws-static-base\">\n              Not what you need? <TextLink href=\"#contact-support\">Contact support</TextLink>\n            </p>\n          </section>\n        ) : (\n          <div className=\"py-ws-16\">\n            <EmptyState\n              title={`No articles match “${term}”`}\n              description=\"Try other words, or ask the support team. They answer a chat in about three minutes.\"\n            >\n              <Button size=\"sm\" asChild>\n                <a href=\"#contact-support\">Contact support</a>\n              </Button>\n              <Button\n                size=\"sm\"\n                variant=\"secondary\"\n                preset=\"border\"\n                onClick={() => {\n                  search('');\n                  input.current?.focus();\n                }}\n              >\n                Clear search\n              </Button>\n            </EmptyState>\n          </div>\n        ))}\n    </div>\n  );\n}\n"
    },
    {
      "path": "src/blocks/help-center/brand-mark.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/help-center/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/help-center/contact-support.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/help-center/contact-support.tsx",
      "content": "'use client';\n\n// TODO(custom): contact channel rows (icon, name, hours and reply time) and a status line; ListItem is a 32px menu row with no room for lines under the name.\nimport {\n  type RemixiconComponentType,\n  RiChat3Line,\n  RiCheckboxCircleFill,\n  RiMailLine,\n} from '@remixicon/react';\nimport { Button } from '@/components/ui/wideset/button/Button';\nimport { Card } from '@/components/ui/wideset/card/Card';\nimport { type ReactNode, useId } from 'react';\n\nimport { support } from './data';\nimport { TextLink } from './text-link';\n\n/** One way to reach the team: a quiet icon, its name, then when and how fast. */\nfunction Channel({\n  icon: Icon,\n  title,\n  children,\n}: {\n  icon: RemixiconComponentType;\n  title: string;\n  children: ReactNode;\n}) {\n  return (\n    <li className=\"gap-ws-7 flex\">\n      <Icon aria-hidden=\"true\" className=\"size-ws-9 text-ws-static-subtle mt-ws-1 shrink-0\" />\n      <div className=\"gap-ws-1 flex min-w-0 flex-col\">\n        <span className=\"typography-label-strong-sm text-ws-static-strong\">{title}</span>\n        <span className=\"typography-body-md text-ws-static-subtle flex flex-col\">{children}</span>\n      </div>\n    </li>\n  );\n}\n\n/**\n * The ways to reach a person, last in the reading order, in a card beside the articles: chat with\n * its hours and the current wait, e-mail with the usual reply time, then the way to write to the\n * team. The system status is the card's footer, one quiet line; its mark is green because \"all\n * is well\" is a judgement.\n */\nexport function ContactSupport() {\n  const id = useId();\n\n  return (\n    <Card role=\"region\" aria-labelledby={id}>\n      <Card.Header>\n        <h2 id={id} className=\"typography-label-strong-md text-ws-static-strong\">\n          Talk to a person\n        </h2>\n      </Card.Header>\n      {/* Card.Content keeps 10px free on its right for a scrollbar: the padding gives it back. */}\n      <Card.Content contentClassName=\"pr-ws-6 gap-ws-11 flex flex-col\">\n        <ul className=\"gap-ws-9 flex flex-col\">\n          <Channel icon={RiChat3Line} title=\"Chat with support\">\n            <span>{support.chat.hours}</span>\n            <span>{support.chat.wait}</span>\n          </Channel>\n          <Channel icon={RiMailLine} title=\"E-mail\">\n            <TextLink href={`mailto:${support.email.address}`} className=\"self-start\">\n              {support.email.address}\n            </TextLink>\n            <span>{support.email.reply}</span>\n          </Channel>\n        </ul>\n        {/* Bordered: filled, it would outweigh the search, the page's main control. */}\n        <Button size=\"sm\" variant=\"secondary\" preset=\"border\" asChild className=\"self-start\">\n          <a href=\"#contact-support\">Contact support</a>\n        </Button>\n      </Card.Content>\n      <Card.Footer>\n        <p className=\"gap-ws-5 typography-body-md text-ws-static-subtle flex w-full items-center\">\n          <RiCheckboxCircleFill\n            aria-hidden=\"true\"\n            className=\"size-ws-9 text-ws-semantic-positive shrink-0\"\n          />\n          <span className=\"flex-1\">{support.status.label}</span>\n          <TextLink href={support.status.href}>Status page</TextLink>\n        </p>\n      </Card.Footer>\n    </Card>\n  );\n}\n"
    },
    {
      "path": "src/blocks/help-center/data.ts",
      "type": "registry:file",
      "target": "blocks/wideset/help-center/data.ts",
      "content": "import {\n  type RemixiconComponentType,\n  RiBankCardLine,\n  RiContactsBook3Line,\n  RiHandCoinLine,\n  RiHome5Line,\n  RiInbox2Line,\n  RiKey2Line,\n  RiLineChartLine,\n  RiPieChart2Line,\n  RiPlugLine,\n  RiQuestionFill,\n  RiQuestionLine,\n  RiSettings3Line,\n  RiTeamLine,\n} from '@remixicon/react';\n\n/*\n  Orbit's help, as Maya Okafor at Lumen Studio sees it on Tuesday 10 November 2026: six topics,\n  the articles the search looks through, the five read most this month, and the two ways to reach\n  the support team, which is open on weekdays and answering chats in about three minutes.\n*/\n\n/** The product is Orbit; the workspace using it is Lumen Studio. */\nexport const product = { name: 'Orbit' };\nexport const workspace = { name: 'Lumen Studio', initials: 'LS' };\nexport const account = { name: 'Maya Okafor', email: 'maya@lumenstudio.co', initials: 'MO' };\n\nexport type NavLink = {\n  id: string;\n  label: string;\n  icon: RemixiconComponentType;\n  /** The icon while the page is open (a line icon swaps for its fill). */\n  activeIcon?: RemixiconComponentType;\n};\n\nexport const mainLinks: NavLink[] = [\n  { id: 'home', label: 'Home', icon: RiHome5Line },\n  { id: 'inbox', label: 'Inbox', icon: RiInbox2Line },\n  { id: 'customers', label: 'Customers', icon: RiContactsBook3Line },\n  { id: 'deals', label: 'Deals', icon: RiHandCoinLine },\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 = {\n  id: 'help',\n  label: 'Help and support',\n  icon: RiQuestionLine,\n  activeIcon: RiQuestionFill,\n};\n\nexport type Topic = {\n  id: string;\n  title: string;\n  /** What the topic covers, in one line. */\n  summary: string;\n};\n\nexport const topics: Topic[] = [\n  {\n    id: 'getting-started',\n    title: 'Getting started',\n    summary: 'Set up the workspace, invite your team and bring in your data.',\n  },\n  {\n    id: 'customers-and-deals',\n    title: 'Customers and deals',\n    summary: 'Records, owners, pipeline stages and imports.',\n  },\n  {\n    id: 'billing',\n    title: 'Billing',\n    summary: 'Plans, seats, invoices and payment methods.',\n  },\n  {\n    id: 'integrations',\n    title: 'Integrations',\n    summary: 'Connect your mail, calendar and the tools you already use.',\n  },\n  {\n    id: 'security',\n    title: 'Security',\n    summary: 'Sign-in, roles, single sign-on and how your data is kept.',\n  },\n  {\n    id: 'reports',\n    title: 'Reports',\n    summary: 'Build, share and schedule reports on revenue and pipeline.',\n  },\n];\n\nexport type Article = {\n  id: string;\n  title: string;\n  topic: string;\n  /** Minutes to read it. */\n  minutes: number;\n};\n\n/** Everything the search looks through, most read first. */\nexport const articles: Article[] = [\n  {\n    id: 'import-customers-csv',\n    title: 'Import customers from a CSV file',\n    topic: 'Customers and deals',\n    minutes: 4,\n  },\n  { id: 'change-plan', title: 'Change your plan or number of seats', topic: 'Billing', minutes: 3 },\n  { id: 'connect-mail', title: 'Connect Gmail or Outlook', topic: 'Integrations', minutes: 3 },\n  {\n    id: 'deal-stages',\n    title: 'Set up the stages of your pipeline',\n    topic: 'Customers and deals',\n    minutes: 5,\n  },\n  { id: 'two-step', title: 'Turn on two-step verification', topic: 'Security', minutes: 2 },\n  {\n    id: 'invite-team',\n    title: 'Invite your team and choose their roles',\n    topic: 'Getting started',\n    minutes: 3,\n  },\n  { id: 'revenue-report', title: 'Build a revenue report', topic: 'Reports', minutes: 6 },\n  {\n    id: 'failed-rows',\n    title: 'Fix rows that failed to import',\n    topic: 'Customers and deals',\n    minutes: 3,\n  },\n  {\n    id: 'merge-duplicates',\n    title: 'Merge duplicate customers',\n    topic: 'Customers and deals',\n    minutes: 2,\n  },\n  {\n    id: 'import-deals',\n    title: 'Import deals from a spreadsheet',\n    topic: 'Customers and deals',\n    minutes: 4,\n  },\n  {\n    id: 'hubspot',\n    title: 'Connect HubSpot and import its contacts',\n    topic: 'Integrations',\n    minutes: 5,\n  },\n  { id: 'download-invoice', title: 'Download an invoice', topic: 'Billing', minutes: 1 },\n  { id: 'payment-method', title: 'Update your payment method', topic: 'Billing', minutes: 2 },\n  { id: 'sso-okta', title: 'Set up single sign-on with Okta', topic: 'Security', minutes: 7 },\n  {\n    id: 'schedule-report',\n    title: 'Send a report by e-mail every week',\n    topic: 'Reports',\n    minutes: 2,\n  },\n  {\n    id: 'export-customers',\n    title: 'Export customers to a CSV file',\n    topic: 'Customers and deals',\n    minutes: 2,\n  },\n];\n\n/** Read most this month: as many as fill the card beside the contacts. */\nexport const popular = articles.slice(0, 7);\n\n/** The support team: open on weekdays, so a chat gets a person. */\nexport const support = {\n  chat: { hours: 'Weekdays, 8:00 to 20:00 ET', wait: 'Current wait about 3 minutes' },\n  email: { address: 'support@orbit.so', reply: 'Usually replies within 4 hours' },\n  status: { label: 'All systems operational', href: '#status' },\n};\n"
    },
    {
      "path": "src/blocks/help-center/empty-state.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/help-center/empty-state.tsx",
      "content": "'use client';\n\n// TODO(custom): empty state (drawing, title, line, actions); Wideset has no EmptyState.\nimport { Illustration } from '@/components/ui/wideset/illustration/Illustration';\nimport { type IllustrationName } from '@/components/ui/wideset/illustration/Illustration.types';\nimport type { ReactNode } from 'react';\n\n/*\n  The prototype for a Wideset EmptyState: one design for every region with nothing to show, copied\n  byte for byte into each block that needs one. A first run (nothing here yet) takes a drawing and\n  the ways in; a state the user caused (no search results) takes no drawing and the one way back.\n*/\n\ntype EmptyStateProps = {\n  /** A drawing, only for a first run: nothing has been added yet. */\n  illustration?: IllustrationName;\n  /** What is missing, in a few words: \"No customers yet\". */\n  title: ReactNode;\n  /** One sentence: what will appear here, or why nothing does. */\n  description: ReactNode;\n  /** One or two `size=\"sm\"` buttons: the ways in, or the way back. */\n  children?: ReactNode;\n};\n\n/** What a region shows with nothing in it: centred in the region, the text read first. */\nexport function EmptyState({ illustration, title, description, children }: EmptyStateProps) {\n  return (\n    <div className=\"gap-ws-12 flex flex-col items-center text-center\">\n      {illustration && <Illustration illustration={illustration} size=\"sm\" />}\n      {/* Announced when it replaces the rows, as after a search. */}\n      <div role=\"status\" className=\"gap-ws-3 flex max-w-[26rem] flex-col\">\n        <h2 className=\"typography-label-strong-md text-ws-static-strong\">{title}</h2>\n        <p className=\"typography-body-md text-ws-static-base\">{description}</p>\n      </div>\n      {children && <div className=\"gap-ws-5 flex flex-wrap justify-center\">{children}</div>}\n    </div>\n  );\n}\n"
    },
    {
      "path": "src/blocks/help-center/highlight.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/help-center/highlight.tsx",
      "content": "'use client';\n\n// TODO(custom): the matched part of a result, marked; Wideset has no text highlight and no token for Figma's gold fill.\n\n/**\n * The first place `query` occurs in `text`, marked as Figma marks a search match: a fill the\n * height of the line (hence `inline-block`). Figma's fill (Non-semantic/Fill/Gold/Subtle) has no\n * token in code: yellow subtle stands in.\n */\nexport function Highlight({ text, query }: { text: string; query: string }) {\n  const start = query ? text.toLowerCase().indexOf(query.toLowerCase()) : -1;\n  if (start < 0) return <>{text}</>;\n  const end = start + query.length;\n\n  return (\n    <>\n      {text.slice(0, start)}\n      <mark className=\"bg-ws-non-semantic-yellow-subtle inline-block text-inherit\">\n        {text.slice(start, end)}\n      </mark>\n      {text.slice(end)}\n    </>\n  );\n}\n"
    },
    {
      "path": "src/blocks/help-center/index.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/help-center/index.tsx",
      "content": "'use client';\n\nimport '@/styles/wideset-blocks.css';\n\nimport { RiSideBarLine } from '@remixicon/react';\nimport { AppShell } from '@/components/ui/wideset/app-shell/AppShell';\nimport { Breadcrumbs } from '@/components/ui/wideset/breadcrumbs/Breadcrumbs';\nimport { cn } from '@/lib/wideset/utils';\nimport { IconButton } from '@/components/ui/wideset/button/IconButton';\nimport { useId, useState } from 'react';\n\nimport { ArticleLinks } from './article-links';\nimport { ArticleSearch } from './article-search';\nimport { ContactSupport } from './contact-support';\nimport { popular } from './data';\nimport { PageHeader } from './page-header';\nimport { HelpSidebar } from './sidebar';\nimport { TopicGrid } from './topic-grid';\n\n/** One column of the page: the header and the body share its edges. */\nconst COLUMN = 'px-ws-14 mx-auto w-full max-w-[80rem]';\n\n/**\n * Help center (Inset direction): help inside Orbit on the raised page beside the workspace\n * sidebar. Read top to bottom: the title, then the search, the page's main control and its\n * largest thing; the topics as tiles; the articles read most; and last the ways to reach a\n * person. Typing turns everything under the search into its matches.\n */\nexport default function HelpCenter() {\n  const sidebarId = useId();\n  const [collapsed, setCollapsed] = useState(false);\n  const [query, setQuery] = useState('');\n\n  return (\n    <AppShell className=\"ws-block-utility\" direction=\"inset\">\n      <HelpSidebar id={sidebarId} collapsed={collapsed} onCollapsedChange={setCollapsed} />\n      <AppShell.Main>\n        <div className=\"h-ws-18 border-ws-static-base flex shrink-0 items-center border-b\">\n          {/* The bar belongs to the surround: it runs edge to edge. The sidebar's toggle is pulled\n              left so its glyph, not its box, sits 20px from the edge; the crumbs follow it. */}\n          <div className=\"gap-ws-5 px-ws-11 flex w-full items-center\">\n            <IconButton\n              icon={RiSideBarLine}\n              variant=\"secondary\"\n              preset=\"ghost\"\n              size=\"sm\"\n              iconClassName=\"text-ws-static-subtle size-ws-9\"\n              aria-label={collapsed ? 'Expand sidebar' : 'Collapse sidebar'}\n              aria-expanded={!collapsed}\n              aria-controls={sidebarId}\n              onClick={() => setCollapsed(!collapsed)}\n              className=\"-ml-ws-5\"\n            />\n            <Breadcrumbs separator=\"arrow\">\n              <Breadcrumbs.Item>Help</Breadcrumbs.Item>\n            </Breadcrumbs>\n          </div>\n        </div>\n\n        {/* The page scrolls inside the card, so the card's corners stay put. */}\n        <div className=\"ws-scrollbar min-h-0 flex-1 overflow-y-auto\">\n          <div className={cn(COLUMN, 'gap-ws-16 pt-ws-14 pb-ws-16 flex flex-col')}>\n            {/* The hero: the title and the search, centred in a column of their own, with more\n                air above and below than the sections under it keep between them. */}\n            <div className=\"gap-ws-12 pt-ws-14 pb-ws-14 mx-auto flex w-full max-w-[44rem] flex-col\">\n              <PageHeader />\n              <ArticleSearch query={query} onQueryChange={setQuery} />\n            </div>\n\n            {!query.trim() && (\n              <>\n                <TopicGrid />\n                {/* On the tiles' grid: the contacts line up with the third column. Two cards of\n                    one height, drawn as the tiles are: with a border. */}\n                <div className=\"gap-ws-7 grid grid-cols-1 lg:grid-cols-3\">\n                  <div className=\"flex lg:col-span-2\">\n                    <ArticleLinks title=\"Popular articles\" articles={popular} />\n                  </div>\n                  <ContactSupport />\n                </div>\n              </>\n            )}\n          </div>\n        </div>\n      </AppShell.Main>\n    </AppShell>\n  );\n}\n"
    },
    {
      "path": "src/blocks/help-center/page-header.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/help-center/page-header.tsx",
      "content": "'use client';\n\n// TODO(custom): page header (title, a line of description); no PageHeader in Wideset.\n\n/**\n * The page's title and what it is for. No actions on the right: the search under it is the\n * page's control, and the way to a person comes last.\n */\nexport function PageHeader() {\n  return (\n    <header className=\"gap-ws-2 flex min-w-0 flex-col items-center text-center\">\n      <h1 className=\"typography-title-md text-ws-static-strong\">Help and support</h1>\n      <p className=\"typography-body-md text-ws-static-subtle\">\n        Search the guides, browse a topic or talk to the support team.\n      </p>\n    </header>\n  );\n}\n"
    },
    {
      "path": "src/blocks/help-center/people.assets.ts",
      "type": "registry:file",
      "target": "blocks/wideset/help-center/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/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADb/2wBDAAQDAwQDAwQEBAQFBQQFBwsHBwYGB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ePCqlvlt/Spqmx/lq5TVzSXgqYIoOCEb1HyA/9NVxrVjfHafA+rG/2JoVZAVmto141vcKM+FtjP//Z',\n};\n"
    },
    {
      "path": "src/blocks/help-center/person-avatar.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/help-center/person-avatar.tsx",
      "content": "'use client';\n\nimport { Avatar } from '@/components/ui/wideset/avatar/Avatar';\nimport { type AvatarProps } from '@/components/ui/wideset/avatar/Avatar.types';\n\nimport { PHOTOS } from './people.assets';\n\ntype PersonAvatarProps = Pick<\n  AvatarProps,\n  'size' | 'shape' | 'status' | 'color' | 'className' | 'style' | 'title' | 'aria-hidden'\n> & {\n  name: string;\n  initials: string;\n  /** The photo's text: empty beside the person's name, their name where the avatar stands alone. */\n  alt?: string;\n};\n\n/**\n * A person's avatar: their photo when `people.assets.ts` has one, with the initials as its\n * fallback, otherwise the initials on their colour. Every place that draws a person uses it, so\n * someone has the same face across the screen and photos mix with initials as in a real product.\n */\nexport function PersonAvatar({ name, initials, color, alt = '', ...props }: PersonAvatarProps) {\n  const photo = PHOTOS[name];\n  return photo ? (\n    <Avatar src={photo} alt={alt} initials={initials} {...props} />\n  ) : (\n    <Avatar initials={initials} color={color} {...props} />\n  );\n}\n"
    },
    {
      "path": "src/blocks/help-center/search-result.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/help-center/search-result.tsx",
      "content": "'use client';\n\n// TODO(custom): a search result row (40px avatar or file tile, title, context line); ListItem is the 32px menu row, Wideset has no larger result row.\nimport { RiFileTextLine } from '@remixicon/react';\nimport { Avatar } from '@/components/ui/wideset/avatar/Avatar';\nimport { cn } from '@/lib/wideset/utils';\n\nimport type { Article } from './data';\nimport { Highlight } from './highlight';\n\n/**\n * One article found, an option of the list the search field drives: the field keeps the focus,\n * so the row never takes it and `active` (the arrow keys, or the pointer) is its only highlight.\n * A line splits it from the row above, drawn by the row so the list holds only options. Copied\n * from the search modal, with the file tile kept for an article.\n */\nexport function SearchResultRow({\n  article,\n  query,\n  active,\n  id,\n  onActivate,\n  onOpen,\n}: {\n  article: Article;\n  query: string;\n  active: boolean;\n  id: string;\n  onActivate: () => void;\n  onOpen: () => void;\n}) {\n  return (\n    // eslint-disable-next-line jsx-a11y/click-events-have-key-events -- the search field holds the focus and its keys open the active option\n    <li\n      id={id}\n      role=\"option\"\n      aria-selected={active}\n      className=\"border-ws-static-base not-first:mt-ws-5 not-first:pt-ws-5 not-first:border-t\"\n      onPointerMove={onActivate}\n      onClick={onOpen}\n    >\n      <div\n        className={cn(\n          'gap-ws-9 p-ws-5 rounded-ws-container-md flex cursor-pointer items-center',\n          active && 'bg-ws-dynamic-tertiary-alpha-hover',\n        )}\n      >\n        <Avatar size=\"lg\" shape=\"square\" aria-hidden=\"true\" icon={<RiFileTextLine />} />\n        <div className=\"gap-ws-2 flex min-w-0 flex-col\">\n          <span className=\"typography-label-strong-sm text-ws-static-strong truncate\">\n            <Highlight text={article.title} query={query} />\n          </span>\n          <span className=\"typography-body-md text-ws-static-subtle truncate\">\n            {article.topic}, {article.minutes} min read\n          </span>\n        </div>\n      </div>\n    </li>\n  );\n}\n"
    },
    {
      "path": "src/blocks/help-center/sidebar.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/help-center/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 HelpSidebar(props: Pick<SidebarProps, 'id' | 'collapsed' | 'onCollapsedChange'>) {\n  const [active, setActive] = useState('help');\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/help-center/text-link.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/help-center/text-link.tsx",
      "content": "'use client';\n\n// TODO(custom): a link inside a sentence; Wideset has no inline text link (LinkButton is a control with its own padding and height).\nimport { cn } from '@/lib/wideset/utils';\nimport type { AnchorHTMLAttributes } from 'react';\n\n/**\n * A link inside a sentence, as Figma draws the terms link: the sentence's own type in the primary\n * colour. The underline comes on hover and focus.\n */\nexport function TextLink({\n  className,\n  children,\n  ...props\n}: AnchorHTMLAttributes<HTMLAnchorElement>) {\n  return (\n    <a\n      className={cn(\n        'text-ws-dynamic-primary-default hover:text-ws-dynamic-primary-hover active:text-ws-dynamic-primary-pressed rounded-ws-control-sm focus-visible:wds-focus-visible outline-ws-dynamic-primary-strong-default decoration-from-font hover:underline focus-visible:underline',\n        className,\n      )}\n      {...props}\n    >\n      {children}\n    </a>\n  );\n}\n"
    },
    {
      "path": "src/blocks/help-center/topic-grid.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/help-center/topic-grid.tsx",
      "content": "'use client';\n\nimport { RiArrowRightLine } from '@remixicon/react';\nimport { ActionTile } from '@/components/ui/wideset/action-tile/ActionTile';\nimport { useId } from 'react';\n\nimport { topics } from './data';\n\n/**\n * The topics as outlined tiles, each one link: its name and what it covers. No article count:\n * the page is for finding an answer, not for counting. The tiles go somewhere, so each ends in\n * an arrow; no icon badges, which would add a colour per tile.\n */\nexport function TopicGrid() {\n  const id = useId();\n\n  return (\n    <section aria-labelledby={id} className=\"gap-ws-9 flex flex-col\">\n      <h2 id={id} className=\"typography-label-strong-md text-ws-static-strong\">\n        Browse by topic\n      </h2>\n      <ul className=\"gap-ws-7 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3\">\n        {topics.map((topic) => (\n          <li key={topic.id} className=\"flex\">\n            <ActionTile href={`#topics/${topic.id}`} className=\"items-start\">\n              <div className=\"gap-ws-3 flex min-w-0 flex-1 flex-col\">\n                <ActionTile.Title>{topic.title}</ActionTile.Title>\n                <ActionTile.Description>{topic.summary}</ActionTile.Description>\n              </div>\n              <ActionTile.Icon icon={RiArrowRightLine} />\n            </ActionTile>\n          </li>\n        ))}\n      </ul>\n    </section>\n  );\n}\n"
    }
  ],
  "meta": {
    "version": "1.1.0",
    "commit": "a734f9f0"
  }
}
