{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "block-cancel-subscription",
  "type": "registry:block",
  "title": "Cancel subscription",
  "description": "Cancelling a plan on a raised page, in one narrow column: what happens and what is lost, an optional reason, one alternative that fits it, and the only red button; then the result in place, with the way to undo it.",
  "dependencies": [
    "@remixicon/react@^4.9.0"
  ],
  "registryDependencies": [
    "https://wideset.co/r/app-shell.json",
    "https://wideset.co/r/avatar.json",
    "https://wideset.co/r/block-styles.json",
    "https://wideset.co/r/breadcrumbs.json",
    "https://wideset.co/r/button.json",
    "https://wideset.co/r/divider.json",
    "https://wideset.co/r/dropdown-menu.json",
    "https://wideset.co/r/form-field.json",
    "https://wideset.co/r/icon-button.json",
    "https://wideset.co/r/list-item.json",
    "https://wideset.co/r/radio-button.json",
    "https://wideset.co/r/sidebar.json",
    "https://wideset.co/r/text-input.json",
    "https://wideset.co/r/textarea.json",
    "https://wideset.co/r/tile.json",
    "https://wideset.co/r/toast.json",
    "https://wideset.co/r/utils.json"
  ],
  "files": [
    {
      "path": "src/blocks/cancel-subscription/alternative-offer.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/cancel-subscription/alternative-offer.tsx",
      "content": "'use client';\n\nimport { Button } from '@/components/ui/wideset/button/Button';\nimport { Tile } from '@/components/ui/wideset/tile/Tile';\n\nimport type { Alternative } from './data';\n\ntype AlternativeOfferProps = {\n  /** The offer that fits the reason picked; none for most reasons. */\n  alternative?: Alternative;\n  /** While a choice is being saved. */\n  busy: boolean;\n  onAccept: (alternative: Alternative) => void;\n};\n\n/**\n * The third step, only when the reason has an answer: one alternative, said once, with what it\n * costs and what it gives up. It is a tile with a secondary button, placed before the\n * confirmation and never in its way: the buttons under it work whether it is read or not. The\n * region is live, so a screen reader hears the offer when a reason brings it in; empty, it takes\n * no room, which is why the space above the tile is the tile's own margin.\n */\nexport function AlternativeOffer({ alternative, busy, onAccept }: AlternativeOfferProps) {\n  return (\n    <div aria-live=\"polite\">\n      {alternative && (\n        <Tile title={alternative.title} description={alternative.description} className=\"mt-ws-9\">\n          <Button\n            size=\"sm\"\n            variant=\"secondary\"\n            preset=\"border\"\n            disabled={busy}\n            onClick={() => onAccept(alternative)}\n          >\n            {alternative.action}\n          </Button>\n        </Tile>\n      )}\n    </div>\n  );\n}\n"
    },
    {
      "path": "src/blocks/cancel-subscription/brand-mark.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/cancel-subscription/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/cancel-subscription/confirm-cancel.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/cancel-subscription/confirm-cancel.tsx",
      "content": "'use client';\n\nimport { Button } from '@/components/ui/wideset/button/Button';\n\nimport { ROUTES, subscription } from './data';\nimport { formatDate } from './format';\n\ntype ConfirmCancelProps = {\n  /** While the cancellation is being saved: the button says so. */\n  cancelling: boolean;\n  /** While any choice is being saved: the button waits. */\n  busy: boolean;\n  onCancel: () => void;\n};\n\n/**\n * The last step: the date once more, then the two ways on. \"Keep my plan\" is the quiet way out,\n * a ghost link back to Billing; \"Cancel plan\" is the page's one filled button and its only red\n * thing. There is no dialog after it: the page was the confirmation, and the result can be undone.\n */\nexport function ConfirmCancel({ cancelling, busy, onCancel }: ConfirmCancelProps) {\n  return (\n    <div className=\"border-ws-static-subtle gap-ws-5 pt-ws-12 flex flex-wrap items-center justify-end border-t\">\n      <p className=\"typography-body-md text-ws-static-subtle mr-auto tabular-nums\">\n        {subscription.plan} ends on {formatDate(subscription.periodEnd)}.\n      </p>\n      <Button size=\"sm\" variant=\"secondary\" preset=\"ghost\" asChild>\n        <a href={ROUTES.billing}>Keep my plan</a>\n      </Button>\n      <Button size=\"sm\" variant=\"danger\" disabled={busy} onClick={onCancel}>\n        {cancelling ? 'Cancelling…' : 'Cancel plan'}\n      </Button>\n    </div>\n  );\n}\n"
    },
    {
      "path": "src/blocks/cancel-subscription/data.ts",
      "type": "registry:file",
      "target": "blocks/wideset/cancel-subscription/data.ts",
      "content": "import {\n  type RemixiconComponentType,\n  RiBankCardFill,\n  RiBankCardLine,\n  RiContactsBook3Line,\n  RiHandCoinLine,\n  RiHome5Line,\n  RiInbox2Line,\n  RiKey2Line,\n  RiLineChartLine,\n  RiPieChart2Line,\n  RiPlugLine,\n  RiQuestionLine,\n  RiSettings3Line,\n  RiTeamLine,\n} from '@remixicon/react';\n\nimport { formatDate, formatMonth, formatUsd } from './format';\n\n/*\n  Lumen Studio is on Scale: 40 seats at $69 a month = $2,760.00, paid up to 30 November 2026 and\n  due to renew on 1 December. Cancelling lets the paid period run out, then the workspace drops to\n  Free: 3 seats, no workflows, no single sign-on. Growth is $39 a seat (40 × $39 = $1,560.00,\n  $1,200.00 less), keeps 50 workflows and has no single sign-on either. Every sentence on the page\n  is put together below from these values.\n*/\n\n/** The product is Orbit; the workspace cancelling its plan is Lumen Studio. */\nexport const product = { name: 'Orbit' };\nexport const workspace = { name: 'Lumen Studio', initials: 'LS' };\nexport const account = { name: 'Maya Okafor', email: 'maya@lumenstudio.co', initials: 'MO' };\n\n/** Where the links lead: replace with your routes. */\nexport const ROUTES = { billing: '#billing' };\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, activeIcon: RiBankCardFill },\n  { id: 'integrations', label: 'Integrations', icon: RiPlugLine },\n  { id: 'api-keys', label: 'API keys', icon: RiKey2Line },\n];\n\nexport const helpLink: NavLink = { id: 'help', label: 'Help and support', icon: RiQuestionLine };\n\n/** What the workspace pays for today. */\nexport const subscription = {\n  plan: 'Scale',\n  /** The price of a seat for a month. */\n  seatPrice: 69,\n  seats: 40,\n  /** Seats with a member in them. */\n  seatsInUse: 38,\n  /** The last day already paid for. */\n  periodEnd: '2026-11-30',\n  /** The day the next period would start: the first day on the plan that follows. */\n  renews: '2026-12-01',\n};\n\n/** What a cancelled workspace falls back to. It has no workflows and no single sign-on. */\nexport const freePlan = { name: 'Free', seats: 3 };\n\n/** The plan under Scale. It keeps every seat and some workflows, and has no single sign-on. */\nexport const cheaperPlan = { name: 'Growth', seatPrice: 39, workflows: 50 };\n\n/** A pause skips one period: nothing is charged, and the plan is back on this day. */\nexport const pause = { resumes: '2027-01-01' };\n\nexport const monthlyPrice = subscription.seats * subscription.seatPrice;\nexport const cheaperMonthlyPrice = subscription.seats * cheaperPlan.seatPrice;\n\nconst { plan, periodEnd, renews } = subscription;\nconst lastDay = formatDate(periodEnd);\nconst firstDay = formatDate(renews);\n\n/** A fact as a row: what it is about, then one plain sentence. */\nexport type Fact = { term: string; text: string };\n\n/** What goes on the day the workspace drops to Free, measured against what it uses today. */\nexport const losses: Fact[] = [\n  {\n    term: 'Seats',\n    text: `${subscription.seatsInUse - freePlan.seats} of your ${subscription.seatsInUse} people lose access. ${freePlan.name} has ${freePlan.seats} seats.`,\n  },\n  { term: 'Workflows', text: `Every workflow stops running. ${freePlan.name} has none.` },\n  {\n    term: 'Single sign-on',\n    text: 'SAML sign-in turns off. Everyone signs in with a password.',\n  },\n];\n\nexport type ReasonId = 'too-expensive' | 'not-using' | 'missing-feature' | 'switching' | 'other';\n\n/** Why a team leaves: the closest answer, with room to write under the last one. */\nexport const reasons: { id: ReasonId; label: string }[] = [\n  { id: 'too-expensive', label: 'It costs too much' },\n  { id: 'not-using', label: 'We do not use it enough' },\n  { id: 'missing-feature', label: 'It is missing something we need' },\n  { id: 'switching', label: 'We are moving to another tool' },\n  { id: 'other', label: 'Something else' },\n];\n\n/** How the page can end: the plan cancelled, or one of the two alternatives taken. */\nexport type OutcomeId = 'cancelled' | 'switched' | 'paused';\n\nexport type Outcome = {\n  /** The result as the page's title, and one line under it. */\n  title: string;\n  line: string;\n  /** What happens when, as rows. */\n  facts: Fact[];\n  /** The button that takes it back, and what the toast says once it has. */\n  undo: string;\n  undone: string;\n};\n\nexport const outcomes: Record<OutcomeId, Outcome> = {\n  cancelled: {\n    title: `${plan} is cancelled`,\n    line: `A confirmation is on its way to ${account.email}.`,\n    facts: [\n      { term: `Until ${lastDay}`, text: `${plan} stays on, with everything as it is today.` },\n      {\n        term: `From ${firstDay}`,\n        text: `${workspace.name} is on ${freePlan.name}: ${freePlan.seats} seats, no workflows, no single sign-on.`,\n      },\n      { term: 'Charges', text: 'None. Your card is not charged again.' },\n    ],\n    undo: 'Undo cancellation',\n    undone: `Cancellation undone. ${plan} stays on.`,\n  },\n  switched: {\n    title: `${workspace.name} moves to ${cheaperPlan.name}`,\n    line: `A confirmation is on its way to ${account.email}.`,\n    facts: [\n      { term: `Until ${lastDay}`, text: `${plan} stays on, with everything as it is today.` },\n      {\n        term: `From ${firstDay}`,\n        text: `${cheaperPlan.name} with all ${subscription.seats} seats and ${cheaperPlan.workflows} workflows. Single sign-on turns off.`,\n      },\n      { term: 'Charges', text: `${formatUsd(cheaperMonthlyPrice)} a month, first on ${firstDay}.` },\n    ],\n    undo: `Stay on ${plan}`,\n    undone: `Change undone. ${plan} stays on.`,\n  },\n  paused: {\n    title: `${plan} is paused for ${formatMonth(renews)}`,\n    line: `A confirmation is on its way to ${account.email}.`,\n    facts: [\n      { term: `Until ${lastDay}`, text: `${plan} stays on, with everything as it is today.` },\n      {\n        term: `From ${firstDay}`,\n        text: `${workspace.name} is read-only: nothing is lost and nothing can be changed.`,\n      },\n      {\n        term: 'Charges',\n        text: `None on ${firstDay}. ${formatUsd(monthlyPrice)} again from ${formatDate(pause.resumes)}, when ${plan} is back on.`,\n      },\n    ],\n    undo: 'Undo pause',\n    undone: `Pause undone. ${plan} stays on.`,\n  },\n};\n\n/** What is offered in place of cancelling: an outcome, and how it is put to the reader. */\nexport type Alternative = {\n  outcome: Exclude<OutcomeId, 'cancelled'>;\n  title: string;\n  description: string;\n  action: string;\n};\n\n/** The one alternative a reason has, when it has one. The other reasons get no offer. */\nexport const alternatives: Partial<Record<ReasonId, Alternative>> = {\n  'too-expensive': {\n    outcome: 'switched',\n    title: `${cheaperPlan.name} costs ${formatUsd(monthlyPrice - cheaperMonthlyPrice)} less a month`,\n    description: `${formatUsd(cheaperMonthlyPrice)} a month for the same ${subscription.seats} seats, from ${firstDay}. You keep ${cheaperPlan.workflows} workflows and lose single sign-on.`,\n    action: `Switch to ${cheaperPlan.name}`,\n  },\n  'not-using': {\n    outcome: 'paused',\n    title: `You can pause ${plan} for a month`,\n    description: `Nothing is charged on ${firstDay}. The workspace is read-only until ${plan} is back on ${formatDate(pause.resumes)}.`,\n    action: 'Pause for a month',\n  },\n};\n"
    },
    {
      "path": "src/blocks/cancel-subscription/facts-list.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/cancel-subscription/facts-list.tsx",
      "content": "'use client';\n\n// TODO(custom): facts read as rows (a term on the left, a sentence beside it, a line above each row); no DescriptionList in Wideset.\nimport type { Fact } from './data';\n\n/**\n * Facts as rows: what each is about in a fixed column, then one plain sentence. Every row opens\n * under a line and the list closes with one, so it reads like a table without a header and no\n * row is boxed. Sentences start on one edge, which is why the term's column has a fixed width.\n */\nexport function FactsList({ facts }: { facts: Fact[] }) {\n  return (\n    <dl className=\"border-ws-static-subtle flex flex-col border-b\">\n      {facts.map(({ term, text }) => (\n        <div\n          key={term}\n          className=\"border-ws-static-subtle gap-ws-9 py-ws-7 typography-body-md flex items-baseline border-t tabular-nums\"\n        >\n          <dt className=\"text-ws-static-subtle w-[10rem] shrink-0\">{term}</dt>\n          <dd className=\"text-ws-static-base min-w-0 flex-1\">{text}</dd>\n        </div>\n      ))}\n    </dl>\n  );\n}\n"
    },
    {
      "path": "src/blocks/cancel-subscription/format.ts",
      "type": "registry:file",
      "target": "blocks/wideset/cancel-subscription/format.ts",
      "content": "// One locale and currency for the whole screen; swap them for the workspace's.\nconst LOCALE = 'en-US';\n\nconst usd = new Intl.NumberFormat(LOCALE, { style: 'currency', currency: 'USD' });\n// Dates are calendar days (`2026-11-30`), parsed as UTC midnight: format them in UTC too.\nconst date = new Intl.DateTimeFormat(LOCALE, {\n  day: 'numeric',\n  month: 'short',\n  year: 'numeric',\n  timeZone: 'UTC',\n});\nconst month = new Intl.DateTimeFormat(LOCALE, { month: 'long', timeZone: 'UTC' });\n\nexport const formatUsd = (value: number) => usd.format(value);\nexport const formatDate = (iso: string) => date.format(new Date(iso));\n/** The month a day falls in: `December`. */\nexport const formatMonth = (iso: string) => month.format(new Date(iso));\n"
    },
    {
      "path": "src/blocks/cancel-subscription/index.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/cancel-subscription/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 { ToastProvider, useToast } from '@/components/ui/wideset/toast/Toast.context';\nimport { useEffect, useId, useRef, useState } from 'react';\n\nimport { AlternativeOffer } from './alternative-offer';\nimport { ConfirmCancel } from './confirm-cancel';\nimport {\n  alternatives,\n  monthlyPrice,\n  type OutcomeId,\n  outcomes,\n  type ReasonId,\n  ROUTES,\n  subscription,\n} from './data';\nimport { formatUsd } from './format';\nimport { LeavingReason } from './leaving-reason';\nimport { OutcomeSummary } from './outcome-summary';\nimport { CancelSubscriptionSidebar } from './sidebar';\nimport { WhatHappens } from './what-happens';\n\n/**\n * The page: four steps in one narrow column, read top to bottom, then the result in their place.\n * It holds the reason and the note, so undoing a cancellation brings the steps back as they were\n * left.\n */\nfunction CancelSubscriptionPage() {\n  const { showToast } = useToast();\n  const [reason, setReason] = useState<ReasonId>();\n  const [note, setNote] = useState('');\n  const [saving, setSaving] = useState<OutcomeId | null>(null);\n  const [outcomeId, setOutcomeId] = useState<OutcomeId | null>(null);\n  const outcome = outcomeId && outcomes[outcomeId];\n\n  // The result replaces the steps in place, so focus moves to the title that names it.\n  const title = useRef<HTMLHeadingElement>(null);\n  const shown = useRef(outcomeId);\n  useEffect(() => {\n    if (shown.current !== outcomeId) title.current?.focus();\n    shown.current = outcomeId;\n  }, [outcomeId]);\n\n  // Cleared on unmount, so the stand-in request never lands on a closed screen.\n  const timer = useRef<number>(undefined);\n  useEffect(() => () => window.clearTimeout(timer.current), []);\n\n  // A timeout stands in for the request; a real screen awaits it and, when it fails, stays on the\n  // steps and says so in an InlineAlert above the buttons.\n  const decide = (id: OutcomeId) => {\n    setSaving(id);\n    timer.current = window.setTimeout(() => {\n      setSaving(null);\n      setOutcomeId(id);\n    }, 800);\n  };\n\n  const header = outcome ?? {\n    title: `Cancel the ${subscription.plan} plan`,\n    line: `${formatUsd(monthlyPrice)} a month for ${subscription.seats} seats. Nothing changes until you confirm below.`,\n  };\n\n  return (\n    // The page is read, not scanned: one column of 40rem, centred on the card.\n    <div className=\"px-ws-14 gap-ws-14 pt-ws-14 pb-ws-16 mx-auto flex w-full max-w-[44rem] flex-col\">\n      <header className=\"gap-ws-2 flex flex-col\">\n        <h1\n          ref={title}\n          tabIndex={-1}\n          className=\"typography-title-md text-ws-static-strong outline-none\"\n        >\n          {header.title}\n        </h1>\n        <p className=\"typography-body-md text-ws-static-subtle tabular-nums\">{header.line}</p>\n      </header>\n\n      {outcome ? (\n        <OutcomeSummary\n          outcome={outcome}\n          onUndo={() => {\n            setOutcomeId(null);\n            showToast({ content: outcome.undone });\n          }}\n        />\n      ) : (\n        <>\n          <WhatHappens />\n          {/* The offer answers the reason, so the two are one step. */}\n          <div>\n            <LeavingReason\n              reason={reason}\n              onReasonChange={setReason}\n              note={note}\n              onNoteChange={setNote}\n              disabled={saving !== null}\n            />\n            <AlternativeOffer\n              alternative={reason && alternatives[reason]}\n              busy={saving !== null}\n              onAccept={(alternative) => decide(alternative.outcome)}\n            />\n          </div>\n          <ConfirmCancel\n            cancelling={saving === 'cancelled'}\n            busy={saving !== null}\n            onCancel={() => decide('cancelled')}\n          />\n        </>\n      )}\n    </div>\n  );\n}\n\n/**\n * Cancel subscription (Inset direction): cancelling the Scale plan as one focused page on the\n * raised card beside the workspace sidebar. It says what happens and what is lost, asks why\n * without insisting, offers one alternative that fits the reason, and ends in the only red thing\n * on the page; then the page becomes the result, with the way to undo it.\n */\nexport default function CancelSubscription() {\n  const sidebarId = useId();\n  const [collapsed, setCollapsed] = useState(false);\n\n  return (\n    <ToastProvider>\n      <AppShell className=\"ws-block-utility\" direction=\"inset\">\n        <CancelSubscriptionSidebar\n          id={sidebarId}\n          collapsed={collapsed}\n          onCollapsedChange={setCollapsed}\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\n                pulled left so its glyph, not its box, sits 20px from the edge; the crumbs follow\n                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 asChild>\n                  <a href=\"#settings\">Settings</a>\n                </Breadcrumbs.Item>\n                <Breadcrumbs.Item asChild>\n                  <a href={ROUTES.billing}>Billing</a>\n                </Breadcrumbs.Item>\n                <Breadcrumbs.Item>Cancel plan</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            <CancelSubscriptionPage />\n          </div>\n        </AppShell.Main>\n      </AppShell>\n    </ToastProvider>\n  );\n}\n"
    },
    {
      "path": "src/blocks/cancel-subscription/leaving-reason.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/cancel-subscription/leaving-reason.tsx",
      "content": "'use client';\n\nimport { FormField } from '@/components/ui/wideset/form-field/FormField';\nimport { RadioButton } from '@/components/ui/wideset/radio-button/RadioButton';\nimport { RadioButtonGroup } from '@/components/ui/wideset/radio-button/RadioButtonGroup';\nimport { Textarea } from '@/components/ui/wideset/textarea/Textarea';\nimport { useId } from 'react';\n\nimport { type ReasonId, reasons } from './data';\nimport { Section } from './section';\n\nconst QUESTION = 'Why are you leaving?';\n\ntype LeavingReasonProps = {\n  /** The reason picked, if any: the question can be skipped. */\n  reason?: ReasonId;\n  onReasonChange: (reason: ReasonId) => void;\n  /** What was written under \"Something else\". */\n  note: string;\n  onNoteChange: (note: string) => void;\n  disabled?: boolean;\n};\n\n/**\n * The second step: the reason, as a short visible set of radio buttons with nothing picked for\n * the reader. It is optional and says so, and cancelling never waits for it. \"Something else\"\n * opens a text field under the list, optional too.\n */\nexport function LeavingReason({\n  reason,\n  onReasonChange,\n  note,\n  onNoteChange,\n  disabled,\n}: LeavingReasonProps) {\n  const noteId = useId();\n\n  return (\n    <Section title={QUESTION} description=\"Optional. It does not change what happens.\">\n      <RadioButtonGroup\n        aria-label={QUESTION}\n        value={reason ?? ''}\n        onValueChange={(value) => onReasonChange(value as ReasonId)}\n        disabled={disabled}\n      >\n        {reasons.map(({ id, label }) => (\n          <RadioButton key={id} value={id} label={label} />\n        ))}\n      </RadioButtonGroup>\n      {reason === 'other' && (\n        <FormField label=\"What should we know?\" suffix=\"(optional)\" htmlFor={noteId}>\n          <Textarea\n            id={noteId}\n            name=\"note\"\n            size=\"sm\"\n            rows={3}\n            resize=\"none\"\n            value={note}\n            onChange={(event) => onNoteChange(event.target.value)}\n            disabled={disabled}\n          />\n        </FormField>\n      )}\n    </Section>\n  );\n}\n"
    },
    {
      "path": "src/blocks/cancel-subscription/outcome-summary.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/cancel-subscription/outcome-summary.tsx",
      "content": "'use client';\n\nimport { Button } from '@/components/ui/wideset/button/Button';\n\nimport { type Outcome, ROUTES } from './data';\nimport { FactsList } from './facts-list';\n\n/**\n * The result, shown where the steps were: what happens when, as the same rows the first step\n * used, then the way to take it back and the way on. Undo is a real button beside the filled\n * one, not a link in small print: the plan runs to the end of the period, so there is time to\n * change one's mind.\n */\nexport function OutcomeSummary({ outcome, onUndo }: { outcome: Outcome; onUndo: () => void }) {\n  return (\n    <div className=\"gap-ws-12 flex flex-col\">\n      <FactsList facts={outcome.facts} />\n      <div className=\"gap-ws-5 flex flex-wrap justify-end\">\n        <Button size=\"sm\" variant=\"secondary\" preset=\"border\" onClick={onUndo}>\n          {outcome.undo}\n        </Button>\n        <Button size=\"sm\" asChild>\n          <a href={ROUTES.billing}>Back to billing</a>\n        </Button>\n      </div>\n    </div>\n  );\n}\n"
    },
    {
      "path": "src/blocks/cancel-subscription/people.assets.ts",
      "type": "registry:file",
      "target": "blocks/wideset/cancel-subscription/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/4gHYSUNDX1BST0ZJTEUAAQEAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAA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ss+akeP3GDVbS+id8TJQf8FKbTxuS4U59iKvTOPPNe7RYP7iKRr6fQrHiYYPpH7fU7igOFWyPWUOr4fZ90dQqZNjQmU+DSS4r27h75qxNJ9NrBoZClwGC7NcG1cp47nFDyz4D0GKmaipYwSTRak/UPSrULGjQOUG/nK3GoV7gYdtvIbRKIyFHcoZJNKEMJSg4AAr2PqA8AK6+5sVHb/5F01E4ln2pp9gpWgHcOePCqlvlt/Spqmx/lq5TVzSXgqYIoOCEb1HyA/9NVxrVjfHafA+rG/2JoVZAVmto141vcKM+FtjP//Z',\n};\n"
    },
    {
      "path": "src/blocks/cancel-subscription/person-avatar.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/cancel-subscription/person-avatar.tsx",
      "content": "'use client';\n\nimport { Avatar } from '@/components/ui/wideset/avatar/Avatar';\nimport { type AvatarColor } from '@/components/ui/wideset/avatar/Avatar.colors';\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' | 'className' | 'style' | '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  /** The colour of the initials. A photo takes none. */\n  color?: AvatarColor;\n  /** Empty beside the person's name (the default); their name when the avatar stands alone. */\n  alt?: string;\n};\n\n/**\n * A person's avatar: their photo when they have one, their initials when not. The choice lives\n * here so every place the block draws a person mixes the two the same way. The rest of the props\n * go to the `Avatar`, so it also sits in an `Avatar.Group`.\n */\nexport function PersonAvatar({ name, initials, color, alt = '', ...avatar }: PersonAvatarProps) {\n  const photo = PHOTOS[name];\n  return photo ? (\n    <Avatar src={photo} alt={alt} initials={initials} {...avatar} />\n  ) : (\n    <Avatar initials={initials} color={color} {...avatar} />\n  );\n}\n"
    },
    {
      "path": "src/blocks/cancel-subscription/section.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/cancel-subscription/section.tsx",
      "content": "'use client';\n\n// TODO(custom): section title above its content; Wideset has no Section or PageSection.\nimport { type ReactNode, useId } from 'react';\n\ntype SectionProps = {\n  title: string;\n  /** One quiet line under the title. */\n  description?: string;\n  children: ReactNode;\n};\n\n/** One step of the page: a 16px title, then what it holds. The title names the region. */\nexport function Section({ title, description, children }: SectionProps) {\n  const id = useId();\n\n  return (\n    <section aria-labelledby={id} className=\"gap-ws-7 flex flex-col\">\n      <div className=\"gap-ws-2 flex flex-col\">\n        <h2 id={id} className=\"typography-label-strong-md text-ws-static-strong\">\n          {title}\n        </h2>\n        {description && <p className=\"typography-body-md text-ws-static-subtle\">{description}</p>}\n      </div>\n      {children}\n    </section>\n  );\n}\n"
    },
    {
      "path": "src/blocks/cancel-subscription/sidebar.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/cancel-subscription/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 CancelSubscriptionSidebar(\n  props: Pick<SidebarProps, 'id' | 'collapsed' | 'onCollapsedChange'>,\n) {\n  const [active, setActive] = useState('billing');\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                  title={account.name}\n                  alt={account.name}\n                />\n              </div>\n            </Sidebar.Collapsed>\n          </div>\n        </div>\n      </Sidebar.Footer>\n    </Sidebar>\n  );\n}\n"
    },
    {
      "path": "src/blocks/cancel-subscription/what-happens.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/cancel-subscription/what-happens.tsx",
      "content": "'use client';\n\nimport { freePlan, losses, subscription, workspace } from './data';\nimport { FactsList } from './facts-list';\nimport { formatDate } from './format';\nimport { Section } from './section';\n\n/**\n * The first step: what cancelling does, before anything is asked. One sentence for when the plan\n * ends and what follows it, then what is lost on that day as plain rows, each measured against\n * what the workspace uses today. No warning colour and no icons: these are facts, not a threat.\n */\nexport function WhatHappens() {\n  return (\n    <Section title=\"What happens\">\n      <p className=\"typography-body-md text-ws-static-base tabular-nums\">\n        {subscription.plan} stays on until {formatDate(subscription.periodEnd)}, the end of the\n        period you have paid for. On {formatDate(subscription.renews)} {workspace.name} moves to the{' '}\n        {freePlan.name} plan and is not charged again. Your data stays where it is.\n      </p>\n      <FactsList facts={losses} />\n    </Section>\n  );\n}\n"
    }
  ],
  "meta": {
    "version": "1.1.0",
    "commit": "a734f9f0"
  }
}
