{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "block-access-requests",
  "type": "registry:block",
  "title": "Access requests",
  "description": "Who gets into a workspace, on a raised page: requests to approve with a role or decline, one by one or in an action bar, invitations to resend or revoke, and the people blocked, each answer undoable from its toast.",
  "dependencies": [
    "@remixicon/react@^4.9.0"
  ],
  "registryDependencies": [
    "https://wideset.co/r/action-bar.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/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/illustration.json",
    "https://wideset.co/r/list-item.json",
    "https://wideset.co/r/modal.json",
    "https://wideset.co/r/popup.json",
    "https://wideset.co/r/select.json",
    "https://wideset.co/r/sidebar.json",
    "https://wideset.co/r/split-button.json",
    "https://wideset.co/r/status-badge.json",
    "https://wideset.co/r/table.json",
    "https://wideset.co/r/tabs.json",
    "https://wideset.co/r/text-input.json",
    "https://wideset.co/r/toast.json",
    "https://wideset.co/r/utils.json"
  ],
  "files": [
    {
      "path": "src/blocks/access-requests/approve-popup.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/access-requests/approve-popup.tsx",
      "content": "'use client';\n\nimport { Button } from '@/components/ui/wideset/button/Button';\nimport { FormField } from '@/components/ui/wideset/form-field/FormField';\nimport { Popup } from '@/components/ui/wideset/popup/Popup';\nimport { Select } from '@/components/ui/wideset/select/Select';\nimport { type ReactNode, useId, useState } from 'react';\n\nimport { type Role, ROLES, workspace } from './data';\n\n/**\n * Letting people in. The role comes first, so Approve opens this small panel on its button\n * instead of approving at once: the role (Member unless changed, with what it may do under it),\n * what it costs in seats, then Approve. The row and the selection bar open the same panel.\n */\nexport function ApprovePopup({\n  title,\n  count,\n  seatsUsed,\n  side = 'bottom',\n  onApprove,\n  children,\n}: {\n  /** Who is let in: \"Approve Aiko Tanaka\", \"Approve 3 people\". */\n  title: string;\n  /** How many people the approval lets in. */\n  count: number;\n  /** Seats taken before this approval. */\n  seatsUsed: number;\n  side?: 'top' | 'bottom';\n  onApprove: (role: Role) => void;\n  /** The button that opens it. */\n  children: ReactNode;\n}) {\n  const roleId = useId();\n  const [open, setOpen] = useState(false);\n  const [role, setRole] = useState<Role>('member');\n  const hint = ROLES.find((option) => option.value === role)!.hint;\n  const after = seatsUsed + count;\n\n  return (\n    <Popup\n      open={open}\n      onOpenChange={(next) => {\n        // Every opening starts from the default role.\n        if (next) setRole('member');\n        setOpen(next);\n      }}\n    >\n      <Popup.Trigger asChild>{children}</Popup.Trigger>\n      <Popup.Container side={side} align=\"end\" className=\"ws-block-utility w-[22rem]\">\n        <Popup.Header>\n          <Popup.Title>{title}</Popup.Title>\n        </Popup.Header>\n        <Popup.Content contentClassName=\"gap-ws-9 flex flex-col\">\n          <FormField label=\"Role\" htmlFor={roleId} helperText={hint}>\n            <Select\n              id={roleId}\n              size=\"sm\"\n              className=\"w-full\"\n              options={ROLES}\n              value={role}\n              onValueChange={(value) => setRole(value as Role)}\n            />\n          </FormField>\n          <Popup.Description className=\"tabular-nums\">\n            {count === 1 ? 'Takes a seat' : `Takes ${count} seats`}: {after} of {workspace.seats} in\n            use after this.\n          </Popup.Description>\n        </Popup.Content>\n        <Popup.Footer>\n          <Popup.Close asChild>\n            <Button size=\"sm\" variant=\"secondary\" preset=\"border\">\n              Cancel\n            </Button>\n          </Popup.Close>\n          <Button\n            size=\"sm\"\n            onClick={() => {\n              setOpen(false);\n              onApprove(role);\n            }}\n          >\n            Approve\n          </Button>\n        </Popup.Footer>\n      </Popup.Container>\n    </Popup>\n  );\n}\n"
    },
    {
      "path": "src/blocks/access-requests/block-dialog.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/access-requests/block-dialog.tsx",
      "content": "'use client';\n\nimport { Button } from '@/components/ui/wideset/button/Button';\nimport { FormField } from '@/components/ui/wideset/form-field/FormField';\nimport { Modal } from '@/components/ui/wideset/modal/Modal';\nimport { TextInput } from '@/components/ui/wideset/text-input/TextInput';\nimport { useId, useState } from 'react';\n\nimport { type Person, workspace } from './data';\n\n/**\n * Declining and blocking a request: the dialog says what blocking does before anything happens,\n * takes an optional reason (shown on the Blocked tab, to admins only) and confirms with the one\n * danger button. Cancel comes first; Enter in the reason does not block.\n */\nexport function BlockDialog({\n  person,\n  open,\n  onOpenChange,\n  onBlock,\n}: {\n  /** Kept while the dialog closes, so its words do not vanish under the fade. */\n  person: Person;\n  open: boolean;\n  onOpenChange: (open: boolean) => void;\n  onBlock: (reason: string) => void;\n}) {\n  const reasonId = useId();\n  const [reason, setReason] = useState('');\n\n  return (\n    <Modal\n      open={open}\n      onOpenChange={(next) => {\n        if (next) setReason('');\n        onOpenChange(next);\n      }}\n    >\n      <Modal.Content className=\"ws-block-utility\">\n        <Modal.Header>\n          <Modal.Title>Decline and block {person.name}?</Modal.Title>\n          <Modal.Description>\n            {person.email} can no longer ask to join {workspace.name}, and nobody can invite that\n            address until an admin unblocks it on the Blocked tab. {person.name} is not told.\n          </Modal.Description>\n        </Modal.Header>\n        <Modal.Body>\n          <FormField\n            label=\"Reason\"\n            suffix=\"(optional)\"\n            htmlFor={reasonId}\n            helperText=\"Only admins see it, beside the name on the Blocked tab.\"\n          >\n            <TextInput\n              id={reasonId}\n              autoComplete=\"off\"\n              placeholder=\"Not part of Lumen Studio\"\n              value={reason}\n              onChange={(event) => setReason(event.target.value)}\n            />\n          </FormField>\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\n            variant=\"danger\"\n            onClick={() => {\n              onOpenChange(false);\n              onBlock(reason.trim());\n            }}\n          >\n            Decline and block\n          </Button>\n        </Modal.Footer>\n      </Modal.Content>\n    </Modal>\n  );\n}\n"
    },
    {
      "path": "src/blocks/access-requests/blocked-table.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/access-requests/blocked-table.tsx",
      "content": "'use client';\n\nimport { Avatar } from '@/components/ui/wideset/avatar/Avatar';\nimport { Button } from '@/components/ui/wideset/button/Button';\nimport { Table } from '@/components/ui/wideset/table/Table';\n\nimport { account, type BlockedPerson } from './data';\nimport { EmptyState } from './empty-state';\nimport { formatDateTime, formatRelative } from './format';\n\nconst COLUMNS = 4;\n\n/**\n * Who may not get in: the person, why (as the admin who blocked them put it), and by whom and\n * when, one under the other.\n * Unblocking lets them ask to join again and can be undone from its toast.\n */\nexport function BlockedTable({\n  rows,\n  onUnblock,\n}: {\n  rows: BlockedPerson[];\n  onUnblock: (person: BlockedPerson) => void;\n}) {\n  return (\n    <Table size=\"md\" className=\"min-w-[60rem] table-fixed\">\n      <Table.Head>\n        <Table.Row>\n          <Table.Header className=\"w-[21.25rem]\">Person</Table.Header>\n          <Table.Header>Reason</Table.Header>\n          <Table.Header className=\"w-[13rem]\">Blocked by</Table.Header>\n          <Table.Header className=\"w-[8rem]\">\n            <span className=\"sr-only\">Actions</span>\n          </Table.Header>\n        </Table.Row>\n      </Table.Head>\n      <Table.Body>\n        {rows.length === 0 ? (\n          <Table.Row>\n            <Table.Cell colSpan={COLUMNS} className=\"py-ws-16\">\n              <EmptyState\n                title=\"Nobody is blocked\"\n                description=\"People you block from a request show here, with who blocked them and why. They cannot ask to join or be invited until someone unblocks them.\"\n              />\n            </Table.Cell>\n          </Table.Row>\n        ) : (\n          rows.map((person) => (\n            <Table.Row key={person.id}>\n              <Table.Cell>\n                <div className=\"gap-ws-7 flex items-center\">\n                  <Avatar initials={person.initials} aria-hidden=\"true\" />\n                  <div className=\"min-w-0\">\n                    <p className=\"text-ws-static-strong truncate\">{person.name}</p>\n                    <Table.CellDescription className=\"truncate\">\n                      {person.email}\n                    </Table.CellDescription>\n                  </div>\n                </div>\n              </Table.Cell>\n              <Table.Cell truncate>\n                {person.reason || <span className=\"text-ws-static-subtle\">No reason given</span>}\n              </Table.Cell>\n              <Table.Cell>\n                <p className=\"truncate\">\n                  {person.blockedBy === account.name ? 'You' : person.blockedBy}\n                </p>\n                <Table.CellDescription>\n                  <time dateTime={person.blocked} title={formatDateTime(person.blocked)}>\n                    {formatRelative(person.blocked)}\n                  </time>\n                </Table.CellDescription>\n              </Table.Cell>\n              <Table.Cell align=\"right\">\n                <Button\n                  size=\"sm\"\n                  variant=\"secondary\"\n                  preset=\"border\"\n                  aria-label={`Unblock ${person.name}`}\n                  onClick={() => onUnblock(person)}\n                >\n                  Unblock\n                </Button>\n              </Table.Cell>\n            </Table.Row>\n          ))\n        )}\n      </Table.Body>\n    </Table>\n  );\n}\n"
    },
    {
      "path": "src/blocks/access-requests/brand-mark.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/access-requests/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/access-requests/data.ts",
      "type": "registry:file",
      "target": "blocks/wideset/access-requests/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  RiQuestionLine,\n  RiSettings3Line,\n  RiTeamFill,\n  RiTeamLine,\n} from '@remixicon/react';\n\n/*\n  Who gets into Lumen Studio. Five people wait for an answer: two signed up with a\n  lumenstudio.co address, two came through a teammate's invite link and one asked from the\n  sign-in page. Four invitations are out, two of them past their seven days. Two people are\n  blocked. The workspace has 34 of its 40 Growth seats taken, so every request fits.\n*/\n\n/** The sample's clock: every relative date on the page is measured from here. */\nexport const NOW = new Date('2026-11-10T14:30:00');\n\n/** The product is Orbit; the workspace people ask to join is Lumen Studio. */\nexport const product = { name: 'Orbit' };\nexport const workspace = {\n  name: 'Lumen Studio',\n  initials: 'LS',\n  plan: 'Growth',\n  seats: 40,\n  /** Seats taken before anyone on this page is let in. */\n  members: 34,\n};\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, activeIcon: RiTeamFill },\n  { id: 'billing', label: 'Billing', icon: RiBankCardLine },\n  { id: 'integrations', label: 'Integrations', icon: RiPlugLine },\n  { id: 'api-keys', label: 'API keys', icon: RiKey2Line },\n];\n\nexport const helpLink: NavLink = { id: 'help', label: 'Help and support', icon: RiQuestionLine };\n\nexport type Role = 'admin' | 'member' | 'viewer';\n\n/** The roles a person can be let in with. Ownership is transferred, never given. */\nexport const ROLES: { value: Role; label: string; hint: string }[] = [\n  { value: 'admin', label: 'Admin', hint: 'Manages members, billing and workspace settings.' },\n  { value: 'member', label: 'Member', hint: 'Works with customers, deals and reports.' },\n  { value: 'viewer', label: 'Viewer', hint: 'Sees everything and changes nothing.' },\n];\n\nexport const roleLabel = (role: Role) => ROLES.find((option) => option.value === role)!.label;\n\nexport type Person = { id: string; name: string; initials: string; email: string };\n\n/** Someone who asked to join and waits for an admin. */\nexport type AccessRequest = Person & {\n  /** Who they say they are, in their own words. */\n  note: string;\n  /** How the request reached the workspace. */\n  source: string;\n  /** ISO date and time. */\n  requested: string;\n};\n\nexport type Invitation = {\n  id: string;\n  email: string;\n  role: Role;\n  invitedBy: string;\n  /** ISO date and time; the link expires 7 days later. */\n  sent: string;\n};\n\nexport type BlockedPerson = Person & {\n  blockedBy: string;\n  /** ISO date and time. */\n  blocked: string;\n  reason: string;\n};\n\nexport const requests: AccessRequest[] = [\n  {\n    id: 'aiko',\n    name: 'Aiko Tanaka',\n    initials: 'AT',\n    email: 'aiko@lumenstudio.co',\n    note: 'Sales development, joining Jonas Weber’s team',\n    source: 'Signed up with a lumenstudio.co e-mail',\n    requested: '2026-11-10T12:05:00',\n  },\n  {\n    id: 'rafael',\n    name: 'Rafael Costa',\n    initials: 'RC',\n    email: 'rafael@lumenstudio.co',\n    note: 'Account executive in the Lisbon office',\n    source: 'Signed up with a lumenstudio.co e-mail',\n    requested: '2026-11-10T09:40:00',\n  },\n  {\n    id: 'hannah',\n    name: 'Hannah Brooks',\n    initials: 'HB',\n    email: 'hannah@marlowfinch.co',\n    note: 'Marlow & Finch’s account lead, for the renewal',\n    source: 'Through Priya Raman’s invite link',\n    requested: '2026-11-09T16:20:00',\n  },\n  {\n    id: 'omar',\n    name: 'Omar Haddad',\n    initials: 'OH',\n    email: 'omar@kestrelanalytics.io',\n    note: 'Reviewing the Q4 forecast with Tom Becker',\n    source: 'Through Tom Becker’s invite link',\n    requested: '2026-11-08T11:15:00',\n  },\n  {\n    id: 'lucy',\n    name: 'Lucy Fenwick',\n    initials: 'LF',\n    email: 'lucy@fenwickadvisory.co',\n    note: 'Pricing consultant working with Elena Silva',\n    source: 'Asked from the sign-in page',\n    requested: '2026-11-06T10:30:00',\n  },\n];\n\nexport const invitations: Invitation[] = [\n  {\n    id: 'grace',\n    email: 'grace@lumenstudio.co',\n    role: 'member',\n    invitedBy: 'Maya Okafor',\n    sent: '2026-11-09T10:12:00',\n  },\n  {\n    id: 'felix',\n    email: 'felix@lumenstudio.co',\n    role: 'admin',\n    invitedBy: 'Jonas Weber',\n    sent: '2026-11-07T15:40:00',\n  },\n  {\n    id: 'ines',\n    email: 'ines@atlasrobotics.com',\n    role: 'viewer',\n    invitedBy: 'Daniel Reyes',\n    sent: '2026-11-01T09:05:00',\n  },\n  {\n    id: 'samuel',\n    email: 'samuel@lumenstudio.co',\n    role: 'member',\n    invitedBy: 'Maya Okafor',\n    sent: '2026-10-28T13:30:00',\n  },\n];\n\nexport const blocked: BlockedPerson[] = [\n  {\n    id: 'victor',\n    name: 'Victor Lang',\n    initials: 'VL',\n    email: 'victor@quillmetrics.io',\n    blockedBy: 'Jonas Weber',\n    blocked: '2026-10-21T11:00:00',\n    reason: 'Works for a competitor; asked to join twice',\n  },\n  {\n    id: 'dana',\n    name: 'Dana Whitfield',\n    initials: 'DW',\n    email: 'dana@lumenstudio.co',\n    blockedBy: 'Maya Okafor',\n    blocked: '2026-09-30T17:20:00',\n    reason: 'Left Lumen Studio in September',\n  },\n];\n"
    },
    {
      "path": "src/blocks/access-requests/empty-state.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/access-requests/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/access-requests/format.ts",
      "type": "registry:file",
      "target": "blocks/wideset/access-requests/format.ts",
      "content": "import { NOW } from './data';\n\nconst DAY = 24 * 60 * 60 * 1000;\nconst relative = new Intl.RelativeTimeFormat('en-US', { numeric: 'auto' });\nconst date = new Intl.DateTimeFormat('en-US', { month: 'short', day: 'numeric', year: 'numeric' });\nconst dateTime = new Intl.DateTimeFormat('en-US', { dateStyle: 'medium', timeStyle: 'short' });\n\nconst capitalise = (text: string) => text.charAt(0).toUpperCase() + text.slice(1);\nconst startOfDay = (value: Date) =>\n  new Date(value.getFullYear(), value.getMonth(), value.getDate()).getTime();\n\n/** \"Just now\", \"2 hours ago\", \"Yesterday\", \"4 days ago\"; a week or more back, the date. */\nexport function formatRelative(iso: string) {\n  const then = new Date(iso);\n  const days = Math.round((startOfDay(NOW) - startOfDay(then)) / DAY);\n  if (days >= 7) return date.format(then);\n  if (days > 0) return capitalise(relative.format(-days, 'day'));\n  const minutes = Math.round((NOW.getTime() - then.getTime()) / 60000);\n  if (minutes < 1) return 'Just now';\n  if (minutes < 60) return capitalise(relative.format(-minutes, 'minute'));\n  return capitalise(relative.format(-Math.round(minutes / 60), 'hour'));\n}\n\n/** The exact moment, for the `title` beside a relative date. */\nexport const formatDateTime = (iso: string) => dateTime.format(new Date(iso));\n\n/** Whether an invitation sent at `iso` still works: its link lasts 7 days. */\nexport const isExpired = (iso: string) => new Date(iso).getTime() + 7 * DAY <= NOW.getTime();\n"
    },
    {
      "path": "src/blocks/access-requests/index.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/access-requests/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 { Tabs } from '@/components/ui/wideset/tabs/Tabs';\nimport { Toast } from '@/components/ui/wideset/toast/Toast';\nimport { ToastProvider, useToast } from '@/components/ui/wideset/toast/Toast.context';\nimport { useId, useState } from 'react';\n\nimport { BlockDialog } from './block-dialog';\nimport { BlockedTable } from './blocked-table';\nimport {\n  type AccessRequest,\n  account,\n  blocked as initialBlocked,\n  invitations as initialInvitations,\n  NOW,\n  requests as initialRequests,\n  type Role,\n  roleLabel,\n  workspace,\n} from './data';\nimport { InvitationsTable } from './invitations-table';\nimport { InviteDialog } from './invite-dialog';\nimport { PageHeader } from './page-header';\nimport { RequestsTable } from './requests-table';\nimport { SelectionBar } from './selection-bar';\nimport { AccessSidebar } from './sidebar';\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\ntype Tab = 'requests' | 'invitations' | 'blocked';\n\n/** \"a member\", \"an admin\"; several people take the plural. */\nconst asRole = (role: Role, count: number) => {\n  const label = roleLabel(role).toLowerCase();\n  if (count > 1) return `${label}s`;\n  return `${role === 'admin' ? 'an' : 'a'} ${label}`;\n};\n\n/**\n * The page inside the card, under the toasts: it holds the three lists and the seats taken, so\n * every answer moves a person out of a list and says so in a toast with Undo.\n */\nfunction AccessPage() {\n  const { showToast, dismissToast } = useToast();\n  const [tab, setTab] = useState<Tab>('requests');\n  const [requests, setRequests] = useState(initialRequests);\n  const [invitations, setInvitations] = useState(initialInvitations);\n  const [blocked, setBlocked] = useState(initialBlocked);\n  const [seatsUsed, setSeatsUsed] = useState(workspace.members);\n  const [selected, setSelected] = useState<string[]>([]);\n  const [inviting, setInviting] = useState(false);\n  // The person stays while the dialog closes, so its words do not vanish under the fade.\n  const [blocking, setBlocking] = useState<{ person: AccessRequest; open: boolean }>();\n\n  /** A toast whose Undo puts back what the action changed. */\n  const toastWithUndo = (content: string, undo: () => void) => {\n    const id = showToast({\n      content,\n      action: (\n        <Toast.Action\n          preset=\"ghost\"\n          onClick={() => {\n            undo();\n            dismissToast(id);\n          }}\n        >\n          Undo\n        </Toast.Action>\n      ),\n    });\n  };\n\n  /** Takes requests out of the list (and the selection); returns how to put them back. */\n  const remove = (ids: string[]) => {\n    const before = requests;\n    setRequests(requests.filter((request) => !ids.includes(request.id)));\n    setSelected(selected.filter((id) => !ids.includes(id)));\n    return {\n      gone: before.filter((request) => ids.includes(request.id)),\n      restore: () => setRequests(before),\n    };\n  };\n\n  const approve = (ids: string[], role: Role) => {\n    const { gone, restore } = remove(ids);\n    const seats = seatsUsed;\n    setSeatsUsed(seats + gone.length);\n    const who = gone.length === 1 ? gone[0].name : `${gone.length} people`;\n    toastWithUndo(`${who} joined as ${asRole(role, gone.length)}`, () => {\n      restore();\n      setSeatsUsed(seats);\n    });\n  };\n\n  const decline = (ids: string[]) => {\n    const { gone, restore } = remove(ids);\n    toastWithUndo(\n      gone.length === 1\n        ? `Request from ${gone[0].name} declined`\n        : `${gone.length} requests declined`,\n      restore,\n    );\n  };\n\n  const block = (person: AccessRequest, reason: string) => {\n    const { restore } = remove([person.id]);\n    const before = blocked;\n    const { id, name, initials, email } = person;\n    setBlocked([\n      { id, name, initials, email, reason, blockedBy: account.name, blocked: NOW.toISOString() },\n      ...before,\n    ]);\n    toastWithUndo(`${name} declined and blocked`, () => {\n      restore();\n      setBlocked(before);\n    });\n  };\n\n  return (\n    <div className={cn(COLUMN, 'gap-ws-12 pt-ws-14 pb-ws-16 flex flex-col')}>\n      <PageHeader onInvite={() => setInviting(true)} quiet={inviting || Boolean(blocking?.open)} />\n\n      <Tabs value={tab} onValueChange={(value) => setTab(value as Tab)} className=\"gap-ws-9\">\n        <Tabs.List aria-label=\"Access\" className=\"w-full\">\n          <Tabs.Item value=\"requests\">\n            <Tabs.Label>Requests</Tabs.Label>\n          </Tabs.Item>\n          <Tabs.Item value=\"invitations\">\n            <Tabs.Label>Invitations</Tabs.Label>\n          </Tabs.Item>\n          <Tabs.Item value=\"blocked\">\n            <Tabs.Label>Blocked</Tabs.Label>\n          </Tabs.Item>\n        </Tabs.List>\n\n        <Tabs.Content value=\"requests\">\n          <RequestsTable\n            rows={requests}\n            seatsUsed={seatsUsed}\n            selected={selected}\n            onSelectedChange={setSelected}\n            onApprove={approve}\n            onDecline={decline}\n            onBlock={(person) => setBlocking({ person, open: true })}\n          />\n        </Tabs.Content>\n        <Tabs.Content value=\"invitations\">\n          <InvitationsTable\n            rows={invitations}\n            onInvite={() => setInviting(true)}\n            onResend={(invitation) => {\n              setInvitations(\n                invitations.map((i) =>\n                  i.id === invitation.id ? { ...i, sent: NOW.toISOString() } : i,\n                ),\n              );\n              showToast({\n                status: 'success',\n                content: `Invitation sent again to ${invitation.email}`,\n              });\n            }}\n            onRevoke={(invitation) => {\n              const before = invitations;\n              setInvitations(invitations.filter((i) => i.id !== invitation.id));\n              toastWithUndo(`Invitation to ${invitation.email} revoked`, () =>\n                setInvitations(before),\n              );\n            }}\n          />\n        </Tabs.Content>\n        <Tabs.Content value=\"blocked\">\n          <BlockedTable\n            rows={blocked}\n            onUnblock={(person) => {\n              const before = blocked;\n              setBlocked(blocked.filter((p) => p.id !== person.id));\n              toastWithUndo(`${person.name} unblocked`, () => setBlocked(before));\n            }}\n          />\n        </Tabs.Content>\n      </Tabs>\n\n      <SelectionBar\n        // The bar answers requests, so it shows only on their tab.\n        count={tab === 'requests' ? selected.length : 0}\n        seatsUsed={seatsUsed}\n        onClear={() => setSelected([])}\n        onApprove={(role) => approve(selected, role)}\n        onDecline={() => decline(selected)}\n      />\n      <InviteDialog\n        open={inviting}\n        onOpenChange={setInviting}\n        invited={invitations.map((i) => i.email)}\n        blocked={blocked.map((p) => p.email)}\n        onInvite={(email, role) => {\n          setInvitations([\n            { id: email, email, role, invitedBy: account.name, sent: NOW.toISOString() },\n            ...invitations,\n          ]);\n          setTab('invitations');\n          showToast({ status: 'success', content: `Invitation sent to ${email}` });\n        }}\n      />\n      {blocking && (\n        <BlockDialog\n          person={blocking.person}\n          open={blocking.open}\n          onOpenChange={(open) => setBlocking({ ...blocking, open })}\n          onBlock={(reason) => block(blocking.person, reason)}\n        />\n      )}\n    </div>\n  );\n}\n\n/**\n * Access requests (Inset direction): who gets into the workspace, on the raised page beside the\n * workspace sidebar with Members open. Three tabs split the ways in: requests to approve (after\n * picking a role) or decline, one by one or selected together; invitations to resend or revoke;\n * and the people who are blocked. Inviting is the page's one filled button.\n */\nexport default function AccessRequests() {\n  const sidebarId = useId();\n  const [collapsed, setCollapsed] = useState(false);\n\n  return (\n    <ToastProvider>\n      <AppShell className=\"ws-block-utility\" direction=\"inset\">\n        <AccessSidebar id={sidebarId} collapsed={collapsed} onCollapsedChange={setCollapsed} />\n        <AppShell.Main>\n          <div className=\"h-ws-18 border-ws-static-base flex shrink-0 items-center border-b\">\n            {/* The bar belongs to the surround: it runs edge to edge. The sidebar's toggle is\n                pulled left so its glyph, not its box, sits 20px from the edge; the crumbs 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=\"#members\">Members</a>\n                </Breadcrumbs.Item>\n                <Breadcrumbs.Item>Access</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            <AccessPage />\n          </div>\n        </AppShell.Main>\n      </AppShell>\n    </ToastProvider>\n  );\n}\n"
    },
    {
      "path": "src/blocks/access-requests/invitations-table.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/access-requests/invitations-table.tsx",
      "content": "'use client';\n\nimport { Avatar } from '@/components/ui/wideset/avatar/Avatar';\nimport { Button } from '@/components/ui/wideset/button/Button';\nimport { StatusBadge } from '@/components/ui/wideset/status-badge/StatusBadge';\nimport { Table } from '@/components/ui/wideset/table/Table';\n\nimport { account, type Invitation, roleLabel } from './data';\nimport { EmptyState } from './empty-state';\nimport { formatDateTime, formatRelative, isExpired } from './format';\n\nconst COLUMNS = 6;\n\n/**\n * Invitations nobody has accepted yet: to whom, as what, from whom and when, and whether the\n * link still works. The status carries its meaning: Pending waits on the invitee (notice),\n * Expired is a link that no longer works (negative). Resend starts the seven days again; Revoke can be undone from its toast.\n */\nexport function InvitationsTable({\n  rows,\n  onInvite,\n  onResend,\n  onRevoke,\n}: {\n  rows: Invitation[];\n  onInvite: () => void;\n  onResend: (invitation: Invitation) => void;\n  onRevoke: (invitation: Invitation) => void;\n}) {\n  return (\n    <Table size=\"md\" className=\"min-w-[60rem] table-fixed\">\n      <Table.Head>\n        <Table.Row>\n          <Table.Header>E-mail</Table.Header>\n          <Table.Header className=\"w-[8rem]\">Role</Table.Header>\n          <Table.Header className=\"w-[11rem]\">Invited by</Table.Header>\n          <Table.Header className=\"w-[9rem]\">Sent</Table.Header>\n          <Table.Header className=\"w-[8rem]\">Status</Table.Header>\n          <Table.Header className=\"w-[13.5rem]\">\n            <span className=\"sr-only\">Actions</span>\n          </Table.Header>\n        </Table.Row>\n      </Table.Head>\n      <Table.Body>\n        {rows.length === 0 ? (\n          <Table.Row>\n            <Table.Cell colSpan={COLUMNS} className=\"py-ws-16\">\n              <EmptyState\n                title=\"No pending invitations\"\n                description=\"Invitations you send wait here until someone accepts or you revoke them. Each link works for 7 days and can be sent again.\"\n              >\n                <Button size=\"sm\" variant=\"secondary\" preset=\"border\" onClick={onInvite}>\n                  Invite people\n                </Button>\n              </EmptyState>\n            </Table.Cell>\n          </Table.Row>\n        ) : (\n          rows.map((invitation) => {\n            const expired = isExpired(invitation.sent);\n            return (\n              <Table.Row key={invitation.id}>\n                <Table.Cell>\n                  <div className=\"gap-ws-7 flex items-center\">\n                    <Avatar aria-hidden=\"true\" />\n                    <p className=\"text-ws-static-strong min-w-0 truncate\">{invitation.email}</p>\n                  </div>\n                </Table.Cell>\n                <Table.Cell>{roleLabel(invitation.role)}</Table.Cell>\n                <Table.Cell truncate>\n                  {invitation.invitedBy === account.name ? 'You' : invitation.invitedBy}\n                </Table.Cell>\n                <Table.Cell>\n                  <time dateTime={invitation.sent} title={formatDateTime(invitation.sent)}>\n                    {formatRelative(invitation.sent)}\n                  </time>\n                </Table.Cell>\n                <Table.Cell>\n                  <StatusBadge color={expired ? 'negative' : 'notice'}>\n                    {expired ? 'Expired' : 'Pending'}\n                  </StatusBadge>\n                </Table.Cell>\n                <Table.Cell align=\"right\">\n                  <div className=\"gap-ws-5 flex justify-end\">\n                    <Button\n                      size=\"sm\"\n                      variant=\"secondary\"\n                      preset=\"border\"\n                      aria-label={`Resend the invitation to ${invitation.email}`}\n                      onClick={() => onResend(invitation)}\n                    >\n                      Resend\n                    </Button>\n                    <Button\n                      size=\"sm\"\n                      variant=\"secondary\"\n                      preset=\"ghost\"\n                      aria-label={`Revoke the invitation to ${invitation.email}`}\n                      onClick={() => onRevoke(invitation)}\n                    >\n                      Revoke\n                    </Button>\n                  </div>\n                </Table.Cell>\n              </Table.Row>\n            );\n          })\n        )}\n      </Table.Body>\n    </Table>\n  );\n}\n"
    },
    {
      "path": "src/blocks/access-requests/invite-dialog.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/access-requests/invite-dialog.tsx",
      "content": "'use client';\n\nimport { Button } from '@/components/ui/wideset/button/Button';\nimport { FormField } from '@/components/ui/wideset/form-field/FormField';\nimport { Modal } from '@/components/ui/wideset/modal/Modal';\nimport { Select } from '@/components/ui/wideset/select/Select';\nimport { TextInput } from '@/components/ui/wideset/text-input/TextInput';\nimport { type FormEvent, useId, useState } from 'react';\n\nimport { type Role, ROLES, workspace } from './data';\n\nconst EMAIL = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;\n\n/**\n * Inviting one person: the address, the role (Member unless changed, with what it may do under\n * it) and Send. It is a form, so Enter sends; nothing goes out until the address is an e-mail\n * address that has no invitation yet and is not blocked. The error waits for the first send.\n */\nexport function InviteDialog({\n  open,\n  onOpenChange,\n  invited,\n  blocked,\n  onInvite,\n}: {\n  open: boolean;\n  onOpenChange: (open: boolean) => void;\n  /** Addresses with an invitation already. */\n  invited: string[];\n  /** Addresses nobody may invite until they are unblocked. */\n  blocked: string[];\n  onInvite: (email: string, role: Role) => void;\n}) {\n  const id = useId();\n  const [email, setEmail] = useState('');\n  const [role, setRole] = useState<Role>('member');\n  const [tried, setTried] = useState(false);\n\n  const address = email.trim().toLowerCase();\n  const error = !address\n    ? 'Enter an e-mail address.'\n    : !EMAIL.test(address)\n      ? 'Enter an e-mail address like name@company.com.'\n      : invited.includes(address)\n        ? `${address} has an invitation already. Resend it from the Invitations tab.`\n        : blocked.includes(address)\n          ? `${address} is blocked. Unblock it on the Blocked tab first.`\n          : undefined;\n\n  const send = (event: FormEvent) => {\n    event.preventDefault();\n    setTried(true);\n    if (error) {\n      document.getElementById(`${id}-email`)?.focus();\n      return;\n    }\n    onInvite(address, role);\n    onOpenChange(false);\n  };\n\n  return (\n    <Modal\n      open={open}\n      onOpenChange={(next) => {\n        if (next) {\n          setEmail('');\n          setRole('member');\n          setTried(false);\n        }\n        onOpenChange(next);\n      }}\n    >\n      <Modal.Content className=\"ws-block-utility\">\n        <Modal.Header>\n          <Modal.Title>Invite to {workspace.name}</Modal.Title>\n          <Modal.Description>\n            They get an e-mail with a link to join. It works for 7 days.\n          </Modal.Description>\n        </Modal.Header>\n        <Modal.Body>\n          <form id={id} noValidate onSubmit={send} className=\"gap-ws-11 flex flex-col\">\n            <FormField label=\"E-mail\" htmlFor={`${id}-email`} errorText={tried ? error : undefined}>\n              <TextInput\n                id={`${id}-email`}\n                type=\"email\"\n                autoComplete=\"off\"\n                placeholder=\"name@lumenstudio.co\"\n                variant={tried && error ? 'danger' : 'primary'}\n                value={email}\n                onChange={(event) => setEmail(event.target.value)}\n              />\n            </FormField>\n            <FormField\n              label=\"Role\"\n              htmlFor={`${id}-role`}\n              helperText={ROLES.find((option) => option.value === role)!.hint}\n            >\n              <Select\n                id={`${id}-role`}\n                className=\"w-full\"\n                options={ROLES}\n                value={role}\n                onValueChange={(value) => setRole(value as Role)}\n              />\n            </FormField>\n          </form>\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\" form={id}>\n            Send invitation\n          </Button>\n        </Modal.Footer>\n      </Modal.Content>\n    </Modal>\n  );\n}\n"
    },
    {
      "path": "src/blocks/access-requests/page-header.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/access-requests/page-header.tsx",
      "content": "'use client';\n\n// TODO(custom): page header (title, a line of description, the primary action); no PageHeader in Wideset.\nimport { RiUserAddLine } from '@remixicon/react';\nimport { Button } from '@/components/ui/wideset/button/Button';\n\nimport { workspace } from './data';\n\n/**\n * The page's title, what it is for in one line, and the screen's one filled button: inviting is\n * the way in that does not wait for anyone to ask. While a dialog holds the filled button,\n * Invite people steps back to a bordered one (`quiet`), so the screen keeps one.\n */\nexport function PageHeader({ onInvite, quiet }: { onInvite: () => void; quiet?: boolean }) {\n  return (\n    <header className=\"gap-ws-12 flex flex-wrap items-center justify-between\">\n      <div className=\"gap-ws-2 flex min-w-0 flex-col\">\n        <h1 className=\"typography-title-md text-ws-static-strong\">Access</h1>\n        <p className=\"typography-body-md text-ws-static-subtle\">\n          Who gets into {workspace.name}: people asking to join, invitations you sent and anyone who\n          is blocked.\n        </p>\n      </div>\n      <Button\n        size=\"sm\"\n        variant={quiet ? 'secondary' : 'primary'}\n        preset={quiet ? 'border' : 'filled'}\n        onClick={onInvite}\n      >\n        <Button.Icon icon={RiUserAddLine} />\n        Invite people\n      </Button>\n    </header>\n  );\n}\n"
    },
    {
      "path": "src/blocks/access-requests/people.assets.ts",
      "type": "registry:file",
      "target": "blocks/wideset/access-requests/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/2wBDAAQDAwQDAwQEBAQFBQQFBwsHBwYGBw4KCggLEA4RERAOEA8SFBoWEhMYEw8QFh8XGBsbHR0dERYgIh8cIhocHRz/2wBDAQUFBQcGBw0HBw0cEhASHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBz/wAARCABgAGADASIAAhEBAxEB/8QAHQAAAAcBAQEAAAAAAAAAAAAAAgMEBQYHC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wd77+y7UU/jygP5K6tl1pTpyxQrUnk22P93WrGyp1rcPIdKhENwwpKVD/AC1ZHmKshhhCmUuJOUqG8DWnh+qdUROjedQb9j/N1nr2CN4cBoVyJDqbXAeexxSnPvNU3r3S6NS2hxmT3nXDvFR9o86tTU8pK1tQ0EHdO+sD6D9/lUZmR/SVoZ6YJPyodj9c4TthiP8Apr3/AIWigjswvdv8IABZAxdJoU0r0WM8W1LKcpODU20dGLmqYCLZ3oq1b2E54EDr4YOKnGv9nV4scS5xosbtoM94LS6gZW2c5/v31MNjezB3TzMm6TlBTz7Q7MeG8QT/AH76K1eLxvpTJmuSLAduZ6KkNIY5AANOd/pW0lJjwY5J7yS2SfHKhWrqyLjsJIHD+mfuP3rduZ7JqO37TjY+WDWxfWu2tkhPUJCx8ONDOEa40WLQybFwafZ2n3fsqY1B49G9voT+mq//2Q==',\n};\n"
    },
    {
      "path": "src/blocks/access-requests/person-avatar.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/access-requests/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/access-requests/requests-table.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/access-requests/requests-table.tsx",
      "content": "'use client';\n\nimport { RiArrowDownSLine } from '@remixicon/react';\nimport { Avatar } from '@/components/ui/wideset/avatar/Avatar';\nimport { Button } from '@/components/ui/wideset/button/Button';\nimport { Checkbox } from '@/components/ui/wideset/checkbox/Checkbox';\nimport { DropdownMenu } from '@/components/ui/wideset/dropdown/DropdownMenu';\nimport { ListItem } from '@/components/ui/wideset/list-item/ListItem';\nimport { SplitButton } from '@/components/ui/wideset/button/SplitButton';\nimport { Table } from '@/components/ui/wideset/table/Table';\n\nimport { ApprovePopup } from './approve-popup';\nimport type { AccessRequest, Role } from './data';\nimport { EmptyState } from './empty-state';\nimport { formatDateTime, formatRelative } from './format';\n\nconst COLUMNS = 5;\n\n/**\n * The people waiting to get in: who they are, what they say about themselves and how they\n * came, and when. A click on a row selects it for the selection bar; the row's own buttons\n * answer just that one request, and wait for the row to be pointed at, focused or selected so\n * five pairs of buttons do not outweigh the people. Approve asks for the role first; Decline\n * declines at once and keeps blocking behind its arrow, since it needs a dialog.\n */\nexport function RequestsTable({\n  rows,\n  seatsUsed,\n  selected,\n  onSelectedChange,\n  onApprove,\n  onDecline,\n  onBlock,\n}: {\n  rows: AccessRequest[];\n  seatsUsed: number;\n  selected: string[];\n  onSelectedChange: (ids: string[]) => void;\n  onApprove: (ids: string[], role: Role) => void;\n  onDecline: (ids: string[]) => void;\n  onBlock: (request: AccessRequest) => void;\n}) {\n  const picked = rows.filter((row) => selected.includes(row.id)).length;\n  const toggle = (id: string) =>\n    onSelectedChange(\n      selected.includes(id) ? selected.filter((item) => item !== id) : [...selected, id],\n    );\n\n  return (\n    <Table\n      size=\"md\"\n      selectionMode={rows.length > 0 ? 'multiple' : undefined}\n      className=\"min-w-[60rem] table-fixed\"\n    >\n      <Table.Head>\n        <Table.Row>\n          <Table.Header className=\"w-[3.25rem]\">\n            <Checkbox\n              aria-label=\"Select all requests\"\n              disabled={rows.length === 0}\n              checked={picked === 0 ? false : picked === rows.length ? true : 'indeterminate'}\n              onCheckedChange={(checked) =>\n                onSelectedChange(checked === true ? rows.map((row) => row.id) : [])\n              }\n            />\n          </Table.Header>\n          <Table.Header className=\"w-[18rem]\">Person</Table.Header>\n          <Table.Header>Request</Table.Header>\n          <Table.Header className=\"w-[9rem]\">Requested</Table.Header>\n          <Table.Header className=\"w-[13.5rem]\">\n            <span className=\"sr-only\">Actions</span>\n          </Table.Header>\n        </Table.Row>\n      </Table.Head>\n      <Table.Body>\n        {rows.length === 0 ? (\n          <Table.Row>\n            <Table.Cell colSpan={COLUMNS} className=\"py-ws-16\">\n              <EmptyState\n                title=\"No requests to review\"\n                description=\"People who sign up with a lumenstudio.co e-mail or come through a teammate’s invite link wait here for an admin.\"\n              />\n            </Table.Cell>\n          </Table.Row>\n        ) : (\n          rows.map((request) => {\n            const isSelected = selected.includes(request.id);\n            return (\n              <Table.Row key={request.id} selected={isSelected} onClick={() => toggle(request.id)}>\n                <Table.Cell>\n                  <Checkbox checked={isSelected} aria-label={`Select ${request.name}`} />\n                </Table.Cell>\n                <Table.Cell>\n                  <div className=\"gap-ws-7 flex items-center\">\n                    <Avatar initials={request.initials} aria-hidden=\"true\" />\n                    <div className=\"min-w-0\">\n                      <p className=\"text-ws-static-strong truncate\">{request.name}</p>\n                      <Table.CellDescription className=\"truncate\">\n                        {request.email}\n                      </Table.CellDescription>\n                    </div>\n                  </div>\n                </Table.Cell>\n                <Table.Cell>\n                  <p className=\"truncate\">{request.note}</p>\n                  <Table.CellDescription className=\"truncate\">\n                    {request.source}\n                  </Table.CellDescription>\n                </Table.Cell>\n                <Table.Cell>\n                  <time dateTime={request.requested} title={formatDateTime(request.requested)}>\n                    {formatRelative(request.requested)}\n                  </time>\n                </Table.Cell>\n                {/* The row's buttons answer this request only; they do not select it. They show\n                    on hover, on keyboard focus, on the selected row and while their popup or\n                    menu is open; on a touch screen, with no hover, they always show. */}\n                <Table.Cell align=\"right\" onClick={(event) => event.stopPropagation()}>\n                  <div className=\"gap-ws-5 flex justify-end opacity-0 group-focus-within/row:opacity-100 group-hover/row:opacity-100 group-aria-selected/row:opacity-100 has-[[data-state=open]]:opacity-100 pointer-coarse:opacity-100\">\n                    <ApprovePopup\n                      title={`Approve ${request.name}`}\n                      count={1}\n                      seatsUsed={seatsUsed}\n                      onApprove={(role) => onApprove([request.id], role)}\n                    >\n                      <Button size=\"sm\" variant=\"secondary\" preset=\"border\">\n                        Approve\n                      </Button>\n                    </ApprovePopup>\n                    <SplitButton\n                      size=\"sm\"\n                      variant=\"secondary\"\n                      preset=\"border\"\n                      icon={RiArrowDownSLine}\n                      iconAriaLabel={`More ways to decline ${request.name}`}\n                      onClick={() => onDecline([request.id])}\n                      menuContent={\n                        <DropdownMenu.Item variant=\"danger\" onSelect={() => onBlock(request)}>\n                          <ListItem.Content>\n                            <ListItem.Label>Decline and block</ListItem.Label>\n                          </ListItem.Content>\n                        </DropdownMenu.Item>\n                      }\n                    >\n                      Decline\n                    </SplitButton>\n                  </div>\n                </Table.Cell>\n              </Table.Row>\n            );\n          })\n        )}\n      </Table.Body>\n    </Table>\n  );\n}\n"
    },
    {
      "path": "src/blocks/access-requests/selection-bar.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/access-requests/selection-bar.tsx",
      "content": "'use client';\n\nimport { RiCheckLine, RiCloseLine } from '@remixicon/react';\nimport { ActionBar } from '@/components/ui/wideset/action-bar/ActionBar';\nimport { Button } from '@/components/ui/wideset/button/Button';\n\nimport { ApprovePopup } from './approve-popup';\nimport type { Role } from './data';\n\n/**\n * The answer for every selected request at once, floating over the page while anything is\n * selected. Approve asks for one role for all of them first, as in the row; Decline declines\n * at once, with Undo in its toast.\n */\nexport function SelectionBar({\n  count,\n  seatsUsed,\n  onClear,\n  onApprove,\n  onDecline,\n}: {\n  count: number;\n  seatsUsed: number;\n  onClear: () => void;\n  onApprove: (role: Role) => void;\n  onDecline: () => void;\n}) {\n  return (\n    <ActionBar\n      isOpen={count > 0}\n      amountSelected={count}\n      onClose={onClear}\n      closeAriaLabel=\"Clear selection\"\n    >\n      <ApprovePopup\n        title={count === 1 ? 'Approve 1 person' : `Approve ${count} people`}\n        count={count}\n        seatsUsed={seatsUsed}\n        side=\"top\"\n        onApprove={onApprove}\n      >\n        <Button variant=\"secondary\" preset=\"border\" size=\"sm\">\n          <Button.Icon icon={RiCheckLine} />\n          Approve\n        </Button>\n      </ApprovePopup>\n      <Button variant=\"secondary\" preset=\"border\" size=\"sm\" onClick={onDecline}>\n        <Button.Icon icon={RiCloseLine} />\n        Decline\n      </Button>\n    </ActionBar>\n  );\n}\n"
    },
    {
      "path": "src/blocks/access-requests/sidebar.tsx",
      "type": "registry:file",
      "target": "blocks/wideset/access-requests/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 AccessSidebar(props: Pick<SidebarProps, 'id' | 'collapsed' | 'onCollapsedChange'>) {\n  const [active, setActive] = useState('members');\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"
    }
  ],
  "meta": {
    "version": "1.1.0",
    "commit": "a734f9f0"
  }
}
