{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "block-feedback-dialog",
  "type": "registry:block",
  "title": "Feedback dialog",
  "description": "Feedback from the sidebar in a dialog: a five-step worded scale, a topic, a few words, a screenshot of the page shown as a thumbnail and consent to follow up, then thanks in place.",
  "dependencies": [
    "@remixicon/react@^4.9.0"
  ],
  "registryDependencies": [
    "https://wideset.co/r/app-shell.json",
    "https://wideset.co/r/avatar.json",
    "https://wideset.co/r/block-styles.json",
    "https://wideset.co/r/breadcrumbs.json",
    "https://wideset.co/r/button.json",
    "https://wideset.co/r/checkbox.json",
    "https://wideset.co/r/divider.json",
    "https://wideset.co/r/dropdown-menu.json",
    "https://wideset.co/r/form-field.json",
    "https://wideset.co/r/icon-button.json",
    "https://wideset.co/r/list-item.json",
    "https://wideset.co/r/modal.json",
    "https://wideset.co/r/segmented-control.json",
    "https://wideset.co/r/select.json",
    "https://wideset.co/r/sidebar.json",
    "https://wideset.co/r/status-badge.json",
    "https://wideset.co/r/table.json",
    "https://wideset.co/r/text-input.json",
    "https://wideset.co/r/textarea.json",
    "https://wideset.co/r/utils.json"
  ],
  "files": [
    {
      "path": "src/blocks/feedback-dialog/brand-mark.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/feedback-dialog/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/feedback-dialog/data.ts",
      "type": "registry:file",
      "target": "blocks/wideset/feedback-dialog/data.ts",
      "content": "import {\n  type RemixiconComponentType,\n  RiBankCardLine,\n  RiContactsBook3Line,\n  RiFeedbackLine,\n  RiHandCoinLine,\n  RiHome5Fill,\n  RiHome5Line,\n  RiInbox2Line,\n  RiKey2Line,\n  RiLineChartLine,\n  RiPieChart2Line,\n  RiPlugLine,\n  RiQuestionLine,\n  RiSettings3Line,\n  RiTeamLine,\n} from '@remixicon/react';\n\n/*\n  Maya's Tuesday afternoon in Orbit, Home open behind the feedback dialog: the deals to move this\n  week and the meetings coming up. Send feedback in the sidebar's help area opens the dialog.\n*/\n\n/** The product is Orbit; the workspace is Lumen Studio. */\nexport const product = { name: 'Orbit' };\nexport const workspace = { name: 'Lumen Studio', initials: 'LS' };\nexport const account = {\n  name: 'Maya Okafor',\n  firstName: 'Maya',\n  email: 'maya@lumenstudio.co',\n  initials: 'MO',\n};\n\n/** The sample is frozen on this day. */\nexport const TODAY = '2026-11-10';\n\nexport type NavLink = {\n  id: string;\n  label: string;\n  icon: RemixiconComponentType;\n  /** The icon while the page is open (a line icon swaps for its fill). */\n  activeIcon?: RemixiconComponentType;\n};\n\nexport const mainLinks: NavLink[] = [\n  { id: 'home', label: 'Home', icon: RiHome5Line, activeIcon: RiHome5Fill },\n  { id: 'inbox', label: 'Inbox', icon: RiInbox2Line },\n  { id: 'customers', label: 'Customers', icon: RiContactsBook3Line },\n  { id: 'deals', label: 'Deals', icon: RiHandCoinLine },\n  { id: 'revenue', label: 'Revenue', icon: RiLineChartLine },\n  { id: 'reports', label: 'Reports', icon: RiPieChart2Line },\n];\n\nexport const settingsLinks: NavLink[] = [\n  { id: 'general', label: 'General', icon: RiSettings3Line },\n  { id: 'members', label: 'Members', icon: RiTeamLine },\n  { id: 'billing', label: 'Billing', icon: RiBankCardLine },\n  { id: 'integrations', label: 'Integrations', icon: RiPlugLine },\n  { id: 'api-keys', label: 'API keys', icon: RiKey2Line },\n];\n\n/** In the help area, over Help and support: it opens the dialog, it is not a page. */\nexport const feedbackLink = { label: 'Send feedback', icon: RiFeedbackLine };\nexport const helpLink: NavLink = { id: 'help', label: 'Help and support', icon: RiQuestionLine };\n\nexport type Deal = {\n  id: string;\n  customer: string;\n  stage: 'Discovery' | 'Proposal' | 'Negotiation' | 'Commit';\n  amount: number;\n  nextStep: string;\n};\n\n/** Maya's open deals whose next step falls this week, soonest first. */\nexport const deals: Deal[] = [\n  {\n    id: 'halcyon',\n    customer: 'Halcyon Freight',\n    stage: 'Negotiation',\n    amount: 24_000,\n    nextStep: 'Send the revised quote today',\n  },\n  {\n    id: 'northwind',\n    customer: 'Northwind Health',\n    stage: 'Proposal',\n    amount: 18_500,\n    nextStep: 'Walk through the pricing this afternoon',\n  },\n  {\n    id: 'kestrel',\n    customer: 'Kestrel Analytics',\n    stage: 'Discovery',\n    amount: 9_600,\n    nextStep: 'Run the product demo on Thursday',\n  },\n  {\n    id: 'cobalt',\n    customer: 'Cobalt Security',\n    stage: 'Commit',\n    amount: 21_000,\n    nextStep: 'Get the order form signed by Friday',\n  },\n];\n\nexport type Meeting = {\n  id: string;\n  title: string;\n  customer: string;\n  /** When it starts, as a local date and time. */\n  start: string;\n  minutes: number;\n};\n\n/** The next meetings on Maya's calendar. */\nexport const meetings: Meeting[] = [\n  {\n    id: 'northwind',\n    title: 'Pricing review',\n    customer: 'Northwind Health',\n    start: '2026-11-10T16:00',\n    minutes: 30,\n  },\n  {\n    id: 'juniper',\n    title: 'Contract walkthrough',\n    customer: 'Juniper Legal',\n    start: '2026-11-11T10:00',\n    minutes: 60,\n  },\n  {\n    id: 'kestrel',\n    title: 'Product demo',\n    customer: 'Kestrel Analytics',\n    start: '2026-11-12T15:00',\n    minutes: 45,\n  },\n];\n\n/** How it is going, from hard to easy: five steps, each with its words, no faces. */\nexport const SCALE = [\n  { value: '1', label: 'Very hard' },\n  { value: '2', label: 'Hard' },\n  { value: '3', label: 'Okay' },\n  { value: '4', label: 'Easy' },\n  { value: '5', label: 'Very easy' },\n] as const;\n\n/** What the feedback is about. */\nexport const TOPICS = [\n  { value: 'reports', label: 'Reports' },\n  { value: 'pipeline', label: 'Pipeline' },\n  { value: 'billing', label: 'Billing' },\n  { value: 'other', label: 'Something else' },\n];\n"
    },
    {
      "path": "src/blocks/feedback-dialog/deals-table.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/feedback-dialog/deals-table.tsx",
      "content": "'use client';\n\n// TODO(custom): whole-row link done with a stretched <a>; Table has no row link.\nimport { StatusBadge } from '@/components/ui/wideset/status-badge/StatusBadge';\nimport { Table } from '@/components/ui/wideset/table/Table';\nimport { useId } from 'react';\n\nimport type { Deal } from './data';\nimport { formatUsd } from './format';\n\n/**\n * The deals whose next step falls this week, soonest first: who, where the deal stands, what to\n * do next, and what it is worth. A row opens its deal from anywhere on it. Stages are lifecycle\n * states, so the badges stay neutral.\n */\nexport function DealsTable({ deals }: { deals: Deal[] }) {\n  const titleId = useId();\n\n  return (\n    <section aria-labelledby={titleId} className=\"gap-ws-9 flex flex-col\">\n      <h2 id={titleId} className=\"typography-label-strong-md text-ws-static-strong\">\n        Deals to move this week\n      </h2>\n      {/* Auto layout: the short columns keep to one line and their width, the next step takes\n          the rest. */}\n      <Table interactive aria-labelledby={titleId} className=\"w-full\">\n        <Table.Head>\n          <Table.Row>\n            <Table.Header className=\"whitespace-nowrap\">Customer</Table.Header>\n            <Table.Header>Stage</Table.Header>\n            <Table.Header className=\"w-full\">Next step</Table.Header>\n            <Table.Header align=\"right\">Amount</Table.Header>\n          </Table.Row>\n        </Table.Head>\n        <Table.Body>\n          {deals.map((deal) => (\n            // The customer's link stretches over the whole row: one target, the hover on every\n            // cell.\n            <Table.Row key={deal.id} className=\"relative\">\n              <Table.Cell className=\"whitespace-nowrap\">\n                <a\n                  href={`#deal-${deal.id}`}\n                  className=\"text-ws-static-strong focus-visible:wds-focus-visible outline-ws-dynamic-primary-strong-default after:inset-ws-0 after:absolute\"\n                >\n                  {deal.customer}\n                </a>\n              </Table.Cell>\n              <Table.Cell>\n                <StatusBadge>{deal.stage}</StatusBadge>\n              </Table.Cell>\n              <Table.Cell>{deal.nextStep}</Table.Cell>\n              <Table.Cell align=\"right\">\n                <span className=\"text-ws-static-strong tabular-nums\">{formatUsd(deal.amount)}</span>\n              </Table.Cell>\n            </Table.Row>\n          ))}\n        </Table.Body>\n      </Table>\n    </section>\n  );\n}\n"
    },
    {
      "path": "src/blocks/feedback-dialog/feedback-modal.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/feedback-dialog/feedback-modal.tsx",
      "content": "'use client';\n\nimport { Button } from '@/components/ui/wideset/button/Button';\nimport { Checkbox } from '@/components/ui/wideset/checkbox/Checkbox';\nimport { FormField } from '@/components/ui/wideset/form-field/FormField';\nimport { Modal } from '@/components/ui/wideset/modal/Modal';\nimport { SegmentedControl } from '@/components/ui/wideset/segmented-control/SegmentedControl';\nimport { Select } from '@/components/ui/wideset/select/Select';\nimport { Textarea } from '@/components/ui/wideset/textarea/Textarea';\nimport { type FormEvent, useEffect, useId, useRef, useState } from 'react';\n\nimport { account, product, SCALE, TOPICS } from './data';\nimport { PageThumbnail } from './page-thumbnail';\n\nexport type Feedback = {\n  score: string;\n  topic: string;\n  words: string;\n  screenshot: boolean;\n  followUp: boolean;\n};\n\ntype FeedbackModalProps = {\n  open: boolean;\n  onOpenChange: (open: boolean) => void;\n  /** The page the screenshot would be of, as its name. */\n  page: string;\n  /** Sent: where the feedback goes. The dialog says thanks either way. */\n  onSend?: (feedback: Feedback) => void;\n};\n\n/**\n * Feedback on the product, from anywhere, in one dialog that says thanks in place. A plain\n * `Modal`: a short form, nothing to warn about.\n *\n * How it is going comes first, as five worded steps from Very hard to Very easy (words, not\n * faces, so each step means one thing), and it is the only answer Send feedback waits for. What\n * it is about, a few words, a screenshot of the page and whether we may write back are all\n * optional. The screenshot is off until asked for, and its thumbnail says what it would include.\n * The dialog takes the focus, not the scale's first step, so nothing looks chosen before it is.\n */\nexport function FeedbackModal({ open, onOpenChange, page, onSend }: FeedbackModalProps) {\n  return (\n    <Modal open={open} onOpenChange={onOpenChange}>\n      <Modal.Content\n        // Not a control, so it shows no ring (Popup's content does the same).\n        className=\"ws-block-utility outline-hidden\"\n        onOpenAutoFocus={(event) => {\n          event.preventDefault();\n          if (event.currentTarget instanceof HTMLElement) event.currentTarget.focus();\n        }}\n      >\n        {/* Inside the content, so every opening starts from an empty form. */}\n        <FeedbackFlow page={page} onSend={onSend} />\n      </Modal.Content>\n    </Modal>\n  );\n}\n\nfunction FeedbackFlow({ page, onSend }: Pick<FeedbackModalProps, 'page' | 'onSend'>) {\n  const [sent, setSent] = useState(false);\n\n  return sent ? (\n    <FeedbackSent />\n  ) : (\n    <FeedbackForm\n      page={page}\n      onSend={(feedback) => {\n        setSent(true);\n        onSend?.(feedback);\n      }}\n    />\n  );\n}\n\nfunction FeedbackForm({ page, onSend }: { page: string; onSend: (feedback: Feedback) => void }) {\n  const id = useId();\n  const [score, setScore] = useState('');\n  const [topic, setTopic] = useState('');\n  const [words, setWords] = useState('');\n  const [screenshot, setScreenshot] = useState(false);\n  const [followUp, setFollowUp] = useState(false);\n\n  const submit = (event: FormEvent) => {\n    event.preventDefault();\n    if (score) onSend({ score, topic, words: words.trim(), screenshot, followUp });\n  };\n\n  return (\n    <form onSubmit={submit} noValidate>\n      <Modal.Header>\n        <Modal.Title>Send feedback</Modal.Title>\n        <Modal.Description>\n          It goes to the people who build {product.name}. We read every message.\n        </Modal.Description>\n      </Modal.Header>\n      <Modal.Body className=\"gap-ws-11 flex flex-col\">\n        <FormField\n          label={`How easy is ${product.name} to use?`}\n          id={`${id}-score`}\n          WrapperComponent=\"fieldset\"\n        >\n          <SegmentedControl\n            variant=\"fullWidth\"\n            aria-labelledby={`${id}-score`}\n            value={score}\n            onValueChange={setScore}\n          >\n            {SCALE.map((step) => (\n              <SegmentedControl.Item key={step.value} value={step.value}>\n                {step.label}\n              </SegmentedControl.Item>\n            ))}\n          </SegmentedControl>\n        </FormField>\n\n        <FormField label=\"What is it about?\" htmlFor={`${id}-topic`}>\n          <Select\n            id={`${id}-topic`}\n            preset=\"border\"\n            className=\"w-full\"\n            placeholder=\"Choose a topic\"\n            options={TOPICS}\n            value={topic}\n            onValueChange={setTopic}\n          />\n        </FormField>\n\n        <FormField label=\"A few words\" htmlFor={`${id}-words`}>\n          <Textarea\n            id={`${id}-words`}\n            rows={4}\n            maxLength={2000}\n            placeholder=\"What worked, what got in the way, what you expected to happen\"\n            value={words}\n            onChange={(event) => setWords(event.target.value)}\n          />\n        </FormField>\n\n        <div className=\"gap-ws-7 flex flex-col\">\n          {/* A checkbox, not a switch: it is sent with the form, not applied at once. */}\n          <Checkbox\n            label=\"Include a screenshot of this page\"\n            checked={screenshot}\n            onCheckedChange={(checked) => setScreenshot(checked === true)}\n          />\n          {screenshot && (\n            <div className=\"gap-ws-9 flex items-start\">\n              <PageThumbnail className=\"w-[9rem]\" />\n              <p className=\"typography-body-sm text-ws-static-subtle min-w-0\">\n                {`${page}, as it is now. Customer names and amounts on it are included.`}\n              </p>\n            </div>\n          )}\n        </div>\n\n        <Checkbox\n          label={`${product.name} may follow up with me`}\n          description={`At ${account.email}, only about this feedback.`}\n          checked={followUp}\n          onCheckedChange={(checked) => setFollowUp(checked === true)}\n        />\n      </Modal.Body>\n      <Modal.Footer>\n        <Modal.Close asChild>\n          <Button variant=\"secondary\" preset=\"border\">\n            Cancel\n          </Button>\n        </Modal.Close>\n        <Button type=\"submit\" disabled={!score}>\n          Send feedback\n        </Button>\n      </Modal.Footer>\n    </form>\n  );\n}\n\n/** The thanks, in the same dialog: one line on what happens to it, and Close, which takes the focus. */\nfunction FeedbackSent() {\n  const close = useRef<HTMLButtonElement>(null);\n\n  useEffect(() => close.current?.focus(), []);\n\n  return (\n    <>\n      {/* No body between them, so the footer's line is the only one. */}\n      <Modal.Header className=\"border-b-0\">\n        <Modal.Title>Thanks for the feedback</Modal.Title>\n        <Modal.Description>\n          The product team reads it this week and weighs it with the rest when planning what to\n          build next.\n        </Modal.Description>\n      </Modal.Header>\n      <Modal.Footer>\n        <Modal.Close asChild>\n          <Button ref={close}>Close</Button>\n        </Modal.Close>\n      </Modal.Footer>\n    </>\n  );\n}\n"
    },
    {
      "path": "src/blocks/feedback-dialog/format.ts",
      "type": "registry:file",
      "target": "blocks/wideset/feedback-dialog/format.ts",
      "content": "// One locale and currency for the whole screen; swap them for the user's.\nconst LOCALE = 'en-US';\n\nconst usd = new Intl.NumberFormat(LOCALE, {\n  style: 'currency',\n  currency: 'USD',\n  maximumFractionDigits: 0,\n});\n// Days are calendar days (`2026-11-10`), parsed as UTC midnight: format them in UTC too.\nconst longDay = new Intl.DateTimeFormat(LOCALE, {\n  weekday: 'long',\n  month: 'long',\n  day: 'numeric',\n  timeZone: 'UTC',\n});\nconst shortDay = new Intl.DateTimeFormat(LOCALE, {\n  weekday: 'short',\n  month: 'short',\n  day: 'numeric',\n  timeZone: 'UTC',\n});\n// Times are local (`2026-11-10T11:30`, no zone): parsed and formatted in the reader's zone, so\n// the clock on screen is the one in the data.\nconst time = new Intl.DateTimeFormat(LOCALE, { hour: 'numeric', minute: '2-digit' });\nconst relative = new Intl.RelativeTimeFormat(LOCALE, { numeric: 'auto' });\n\nconst DAY = 86_400_000;\n\nexport const formatUsd = (value: number) => usd.format(value);\n/** Tuesday, November 10. */\nexport const formatLongDay = (iso: string) => longDay.format(new Date(iso));\n/** 11:30 AM. */\nexport const formatTime = (iso: string) => time.format(new Date(iso));\n\n/** A day as the week reads it: `Today`, `Tomorrow`, then `Thu, Nov 12`. */\nexport function formatDay(iso: string, today: string) {\n  const day = iso.slice(0, 10);\n  const away = (Date.parse(day) - Date.parse(today)) / DAY;\n  if (away < 0 || away > 1) return shortDay.format(new Date(day));\n  const text = relative.format(away, 'day');\n  return text.charAt(0).toUpperCase() + text.slice(1);\n}\n"
    },
    {
      "path": "src/blocks/feedback-dialog/home-page.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/feedback-dialog/home-page.tsx",
      "content": "'use client';\n\nimport { cn } from '@/lib/wideset/utils';\n\nimport { account, deals, meetings, TODAY } from './data';\nimport { DealsTable } from './deals-table';\nimport { formatLongDay } from './format';\nimport { UpcomingMeetings } from './upcoming-meetings';\n\n/** One column of the page: the header and the body share its edges. */\nconst COLUMN = 'px-ws-14 mx-auto w-full max-w-[80rem]';\n\n/**\n * Home, drawn quietly: the page the overlay opens over. The greeting, the deals to move this week\n * and what is coming up, so the screen behind is real without competing with what is open on it.\n */\nexport function HomePage() {\n  return (\n    // The page scrolls inside the card, so the card's corners stay put.\n    <div className=\"ws-scrollbar min-h-0 flex-1 overflow-y-auto\">\n      <div className={cn(COLUMN, 'gap-ws-12 pt-ws-14 pb-ws-16 flex flex-col')}>\n        <header className=\"gap-ws-2 flex flex-col\">\n          <h1 className=\"typography-title-md text-ws-static-strong\">\n            Good afternoon, {account.firstName}\n          </h1>\n          <p className=\"typography-body-md text-ws-static-subtle\">\n            {formatLongDay(TODAY)}. Your deals and meetings for the week.\n          </p>\n        </header>\n\n        <div className=\"gap-ws-16 grid grid-cols-1 items-start lg:grid-cols-[minmax(0,1fr)_18rem]\">\n          <DealsTable deals={deals} />\n          <UpcomingMeetings meetings={meetings} today={TODAY} />\n        </div>\n      </div>\n    </div>\n  );\n}\n"
    },
    {
      "path": "src/blocks/feedback-dialog/index.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/feedback-dialog/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 { IconButton } from '@/components/ui/wideset/button/IconButton';\nimport { useId, useState } from 'react';\n\nimport { FeedbackModal } from './feedback-modal';\nimport { HomePage } from './home-page';\nimport { HomeSidebar } from './sidebar';\n\n/**\n * Feedback dialog (panel over Home, Inset direction): sending feedback on the product, open on\n * load over a quiet Home (the deals to move this week and what is coming up). Send feedback in the\n * sidebar's help area opens it again, over whatever page is open; once sent, it thanks in place.\n */\nexport default function FeedbackDialogBlock() {\n  const sidebarId = useId();\n  const [collapsed, setCollapsed] = useState(false);\n  const [open, setOpen] = useState(true);\n\n  return (\n    <AppShell className=\"ws-block-utility\" direction=\"inset\">\n      <HomeSidebar\n        id={sidebarId}\n        collapsed={collapsed}\n        onCollapsedChange={setCollapsed}\n        onFeedback={() => setOpen(true)}\n      />\n      <AppShell.Main>\n        <div className=\"h-ws-18 border-ws-static-base flex shrink-0 items-center border-b\">\n          {/* The bar belongs to the surround: it runs edge to edge. The sidebar's toggle is pulled\n              left so its glyph, not its box, sits 20px from the edge; the crumbs follow it. */}\n          <div className=\"gap-ws-5 px-ws-11 flex w-full items-center\">\n            <IconButton\n              icon={RiSideBarLine}\n              variant=\"secondary\"\n              preset=\"ghost\"\n              size=\"sm\"\n              iconClassName=\"text-ws-static-subtle size-ws-9\"\n              aria-label={collapsed ? 'Expand sidebar' : 'Collapse sidebar'}\n              aria-expanded={!collapsed}\n              aria-controls={sidebarId}\n              onClick={() => setCollapsed(!collapsed)}\n              className=\"-ml-ws-5\"\n            />\n            <Breadcrumbs separator=\"arrow\">\n              <Breadcrumbs.Item>Home</Breadcrumbs.Item>\n            </Breadcrumbs>\n          </div>\n        </div>\n\n        <HomePage />\n      </AppShell.Main>\n\n      {/* A starting point has nowhere to send it: sending only says thanks. */}\n      <FeedbackModal open={open} onOpenChange={setOpen} page=\"Home\" />\n    </AppShell>\n  );\n}\n"
    },
    {
      "path": "src/blocks/feedback-dialog/page-thumbnail.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/feedback-dialog/page-thumbnail.tsx",
      "content": "'use client';\n\n// TODO(custom): a drawn thumbnail of the page a screenshot would capture; Wideset has no thumbnail for it, and blocks ship no images.\nimport { cn } from '@/lib/wideset/utils';\n\nconst FRAME = 'fill-(--ws-static-fill-background)';\nconst PAGE = 'fill-(--ws-static-fill-foreground) stroke-(--ws-static-stroke-subtle)';\nconst TEXT = 'fill-(--ws-static-fill-alpha-strong)';\nconst QUIET = 'fill-(--ws-static-fill-alpha-base)';\nconst RULE = 'stroke-(--ws-static-stroke-subtle)';\n\n/** The table's rows: where each starts and how long the customer's name and next step are. */\nconst ROWS = [\n  { y: 70, name: 34, step: 52 },\n  { y: 84, name: 40, step: 60 },\n  { y: 98, name: 36, step: 44 },\n  { y: 112, name: 32, step: 56 },\n];\n/** The meetings beside it: where each starts and how long its title is. */\nconst MEETINGS = [\n  { y: 66, title: 30 },\n  { y: 84, title: 36 },\n  { y: 102, title: 28 },\n];\n\n/**\n * Home as a screenshot would catch it, drawn in a few neutral marks at the window's 3:2: the grey\n * frame with the sidebar on it, the raised page with its bar, the greeting, the deals table and\n * the meetings beside it. The surfaces' own colours, so it turns with the theme. Decorative: the\n * words beside it say what it is.\n */\nexport function PageThumbnail({ className }: { className?: string }) {\n  return (\n    <div\n      aria-hidden=\"true\"\n      className={cn(\n        'border-ws-static-base rounded-ws-container-sm shrink-0 overflow-hidden border',\n        className,\n      )}\n    >\n      <svg viewBox=\"0 0 240 160\" className=\"block h-auto w-full\">\n        <rect width={240} height={160} className={FRAME} />\n\n        {/* The sidebar on the frame: the mark, the search, the pages (Home selected). */}\n        <rect\n          x={8}\n          y={8}\n          width={10}\n          height={10}\n          rx={3}\n          className=\"fill-(--ws-static-fill-inverse-background)\"\n        />\n        <rect x={22} y={11} width={22} height={4} rx={2} className={TEXT} />\n        <rect x={8} y={24} width={40} height={8} rx={2} className={PAGE} />\n        <rect x={6} y={38} width={44} height={8} rx={2} className={QUIET} />\n        <rect x={10} y={40.5} width={20} height={3} rx={1.5} className={TEXT} />\n        {[0, 1, 2, 3, 4].map((row) => (\n          <rect\n            key={row}\n            x={10}\n            y={41 + (row + 1) * 10}\n            width={26}\n            height={3}\n            rx={1.5}\n            className={QUIET}\n          />\n        ))}\n\n        {/* The raised page, its bar, the greeting. */}\n        <rect x={56} y={4} width={180} height={152} rx={6} className={PAGE} />\n        <line x1={56} x2={236} y1={18} y2={18} className={RULE} />\n        <rect x={66} y={26} width={64} height={6} rx={2} className={TEXT} />\n        <rect x={66} y={36} width={92} height={3} rx={1.5} className={QUIET} />\n\n        {/* Deals to move this week. */}\n        <rect x={66} y={52} width={46} height={4} rx={2} className={TEXT} />\n        {ROWS.map(({ y, name, step }) => (\n          <g key={y}>\n            <line x1={66} x2={180} y1={y - 5} y2={y - 5} className={RULE} />\n            <rect x={66} y={y} width={name} height={3} rx={1.5} className={TEXT} />\n            <rect x={108} y={y} width={step * 0.6} height={3} rx={1.5} className={QUIET} />\n            <rect x={164} y={y} width={16} height={3} rx={1.5} className={QUIET} />\n          </g>\n        ))}\n\n        {/* Coming up. */}\n        <rect x={192} y={52} width={30} height={4} rx={2} className={TEXT} />\n        {MEETINGS.map(({ y, title }) => (\n          <g key={y}>\n            <rect x={192} y={y} width={12} height={3} rx={1.5} className={QUIET} />\n            <rect x={192} y={y + 6} width={title} height={3} rx={1.5} className={TEXT} />\n          </g>\n        ))}\n      </svg>\n    </div>\n  );\n}\n"
    },
    {
      "path": "src/blocks/feedback-dialog/people.assets.ts",
      "type": "registry:file",
      "target": "blocks/wideset/feedback-dialog/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,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',\n};\n"
    },
    {
      "path": "src/blocks/feedback-dialog/person-avatar.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/feedback-dialog/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/feedback-dialog/sidebar.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/feedback-dialog/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  feedbackLink,\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. The help area at the foot holds Send\n * feedback, a button and not a page: it opens the feedback dialog over whatever page is open.\n */\nexport function HomeSidebar({\n  onFeedback,\n  ...props\n}: Pick<SidebarProps, 'id' | 'collapsed' | 'onCollapsedChange'> & { onFeedback: () => void }) {\n  const [active, setActive] = useState('home');\n\n  const link = ({ id, label, icon, activeIcon }: NavLink) => (\n    <Sidebar.Item\n      key={id}\n      href={`#${id}`}\n      icon={active === id ? (activeIcon ?? icon) : icon}\n      label={label}\n      active={active === id}\n      onClick={() => setActive(id)}\n    />\n  );\n\n  const nav = (\n    <nav aria-label=\"Workspace\" className=\"gap-ws-9 flex flex-col\">\n      <div className=\"flex flex-col\">{mainLinks.map(link)}</div>\n      <Divider weight=\"thin\" />\n      <div role=\"group\" aria-labelledby=\"sidebar-settings\" className=\"gap-ws-2 flex flex-col\">\n        <Sidebar.SectionHeader id=\"sidebar-settings\">Settings</Sidebar.SectionHeader>\n        {settingsLinks.map(link)}\n      </div>\n    </nav>\n  );\n\n  return (\n    <Sidebar {...props}>\n      <Sidebar.Header>\n        <Sidebar.Expanded>\n          <div className=\"gap-ws-9 flex flex-col\">\n            <div className=\"gap-ws-7 pt-ws-3 pb-ws-7 flex items-center\">\n              <BrandMark className=\"size-ws-15\" />\n              <div className=\"flex min-w-0 flex-1 flex-col\">\n                <span className=\"typography-label-strong-sm text-ws-static-strong truncate\">\n                  {workspace.name}\n                </span>\n                <span className=\"typography-caption-md text-ws-static-subtle truncate\">\n                  {product.name}\n                </span>\n              </div>\n              <DropdownMenu>\n                <DropdownMenu.Trigger asChild>\n                  <IconButton\n                    icon={RiArrowDownSLine}\n                    variant=\"secondary\"\n                    preset=\"ghost\"\n                    size=\"xs\"\n                    aria-label=\"Switch workspace\"\n                    className=\"mr-ws-3\"\n                  />\n                </DropdownMenu.Trigger>\n                <DropdownMenu.Content className=\"ws-block-utility\" align=\"end\">\n                  <DropdownMenu.Item data-state=\"checked\">\n                    <ListItem.Content>\n                      <ListItem.Label>{workspace.name}</ListItem.Label>\n                    </ListItem.Content>\n                  </DropdownMenu.Item>\n                  <DropdownMenu.Separator />\n                  <DropdownMenu.Item>\n                    <ListItem.Prefix>\n                      <RiAddLine className=\"size-ws-9\" />\n                    </ListItem.Prefix>\n                    <ListItem.Content>\n                      <ListItem.Label>New workspace</ListItem.Label>\n                    </ListItem.Content>\n                  </DropdownMenu.Item>\n                </DropdownMenu.Content>\n              </DropdownMenu>\n            </div>\n            <TextInput size=\"sm\">\n              <TextInput.Prefix inner>\n                <TextInput.Icon icon={RiSearchLine} />\n              </TextInput.Prefix>\n              <TextInput.Input type=\"search\" placeholder=\"Search\" aria-label=\"Search\" />\n            </TextInput>\n          </div>\n        </Sidebar.Expanded>\n        <Sidebar.Collapsed>\n          <div className=\"pt-ws-3 pb-ws-7 flex justify-center\">\n            <BrandMark className=\"size-ws-15\" />\n          </div>\n        </Sidebar.Collapsed>\n      </Sidebar.Header>\n\n      {/* A section draws only the slot for the state it is in, so the pages go in both. */}\n      <Sidebar.Section scrollable>{nav}</Sidebar.Section>\n\n      <Sidebar.Footer>\n        <div className=\"gap-ws-9 flex flex-col\">\n          <div className=\"flex flex-col\">\n            <Sidebar.Item asChild icon={feedbackLink.icon} label={feedbackLink.label}>\n              <button type=\"button\" aria-haspopup=\"dialog\" onClick={onFeedback} />\n            </Sidebar.Item>\n            {link(helpLink)}\n          </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/feedback-dialog/upcoming-meetings.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/feedback-dialog/upcoming-meetings.tsx",
      "content": "'use client';\n\n// TODO(custom): agenda list (a time column, then the meeting and who it is with); Wideset has no agenda or event row.\nimport { useId } from 'react';\n\nimport type { Meeting } from './data';\nimport { formatDay, formatTime } from './format';\n\n/**\n * The next few meetings: when on the left, in one column so the times line up, then what the\n * meeting is and the customer it is with. Plain rows, nothing to click: the calendar owns them.\n */\nexport function UpcomingMeetings({ meetings, today }: { meetings: Meeting[]; today: string }) {\n  const titleId = useId();\n\n  return (\n    <section aria-labelledby={titleId} className=\"gap-ws-9 flex flex-col\">\n      <h2 id={titleId} className=\"typography-label-strong-md text-ws-static-strong\">\n        Coming up\n      </h2>\n      <ul className=\"gap-ws-9 flex flex-col\">\n        {meetings.map((meeting) => (\n          <li key={meeting.id} className=\"gap-ws-9 flex items-start\">\n            <time dateTime={meeting.start} className=\"flex w-[4.5rem] shrink-0 flex-col\">\n              <span className=\"typography-label-sm text-ws-static-strong tabular-nums\">\n                {formatTime(meeting.start)}\n              </span>\n              <span className=\"typography-caption-md text-ws-static-subtle\">\n                {formatDay(meeting.start, today)}\n              </span>\n            </time>\n            <div className=\"flex min-w-0 flex-col\">\n              <span className=\"typography-label-strong-sm text-ws-static-strong truncate\">\n                {meeting.title}\n              </span>\n              <span className=\"typography-caption-md text-ws-static-subtle truncate\">\n                {meeting.customer} · {meeting.minutes} min\n              </span>\n            </div>\n          </li>\n        ))}\n      </ul>\n    </section>\n  );\n}\n"
    }
  ],
  "meta": {
    "version": "1.1.0",
    "commit": "a734f9f0"
  }
}
