{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "shell-content",
  "title": "Shell content",
  "description": "Generic English defaults for the chrome around a session (header, sidebar, public pages, loading and error text), replaced with an app's own wording through the content provider.",
  "registryDependencies": [
    "@registrystack/lib-content"
  ],
  "files": [
    {
      "path": "shell/shell-content.tsx",
      "content": "import { useContentArea } from \"@/blocks/lib/content\";\n\n/**\n * The words the shell blocks show on their own: generic defaults an app\n * replaces with its own content through `ShellContentProvider`. These cover\n * the chrome around a session (the header, the sidebar, the public pages\n * before sign-in) and the small pieces most pages reach for (loading, an\n * error, a status badge).\n */\nexport interface ShellContent {\n  /** Shown while a block waits on data it cannot yet render. */\n  loading: string;\n  /** Shown on a status badge whose code has no label. */\n  unknownStatus: string;\n  /** Words for a casework state, by its code. */\n  stateLabels: Readonly<Record<string, string>>;\n  /** Words for a recorded, post-decision status, by its code. */\n  recordedStatuses: Readonly<Record<string, string>>;\n\n  // ErrorPanel: a problem's title and body, by the kind `problemView` gives it.\n  serviceUnavailable: string;\n  serviceUnavailableBody: string;\n  unknownTitle: string;\n  caseworkRefusedTitle: string;\n  /** A Casework refusal for an account with no registry profile to review with. */\n  sourceProfileRequired: string;\n  unavailable: string;\n  unavailableBody: string;\n  staleTitle: string;\n  staleBody: string;\n  /** A write the registry refused because the action is not allowed for the record as it is now. */\n  actionUnavailableTitle: string;\n  actionUnavailableBody: string;\n  conflictTitle: string;\n  conflictBody: string;\n  /** A record write the registry refused because its values clash with a record or rule in place. */\n  valuesConflictTitle: string;\n  valuesConflictBody: string;\n  /** Submitted values the registry could not accept as they stand. */\n  invalidTitle: string;\n  invalidBody: string;\n  refusedTitle: string;\n  refusedBody: string;\n  /** Heads a write the registry refused in its own words, which follow as the body. */\n  registryRefusedTitle: string;\n  /** A create the registry refused because it falls outside the caller's row boundary. */\n  outsideBoundaryBody: string;\n  contractChangedTitle: string;\n  contractChangedBody: string;\n  expiredTitle: string;\n  expiredBody: string;\n  capacityTitle: string;\n  capacityBody: string;\n  receipt: string;\n  /** \"{label}: {value}\": the support reference line, `{label}` being `receipt` and `{value}` the reference. */\n  receiptLine: string;\n  /** Says what the support reference under a problem is for. */\n  receiptHelp: string;\n  retry: string;\n\n  // The signed-in chrome: the skip link, the header, the sidebar landmark.\n  navMain: string;\n  skip: string;\n  brand: string;\n  beta: string;\n  signedInAs: string;\n  staffName: string;\n  serviceName: string;\n  offline: string;\n  footer: string;\n  footerNote: string;\n  help: string;\n  staffEntryLink: string;\n  serviceEntryLink: string;\n  signOut: string;\n  switchAccount: string;\n  /** Names the choice of the language the app is read in; each language is named in itself. */\n  language: string;\n  /** A link back to an enclosing page, worded generically for any register. */\n  back: string;\n\n  // The public pages before sign-in.\n  introduction: string;\n  staffIntroduction: string;\n  introBody: string;\n  staffIntroBody: string;\n  /** A policy note under the introduction; the generic default leaves it blank. */\n  introScope: string;\n  serviceAccess: string;\n  staffAccess: string;\n  signIn: string;\n  helpTitle: string;\n  helpBody: string;\n  helpReference: string;\n  helpRecovery: string;\n  loginFailureTitle: string;\n  loginUnmapped: string;\n  loginExpired: string;\n  loginAccess: string;\n  loginUnavailable: string;\n  recoveryTitle: string;\n  previousContextBody: string;\n}\n\nexport const shellContent: ShellContent = {\n  loading: \"Loading…\",\n  unknownStatus: \"Status not available\",\n  // A Casework review task's open state, then its due states: the same words\n  // as `caseworkContent.stateLabels`, which words them everywhere else.\n  stateLabels: {\n    open: \"Waiting for review\",\n    \"on-track\": \"On track\",\n    \"at-risk\": \"Due soon\",\n    overdue: \"Overdue\",\n  },\n  recordedStatuses: {},\n\n  serviceUnavailable: \"We could not load this page\",\n  serviceUnavailableBody:\n    \"Try again in a moment. If this keeps happening, contact support.\",\n  unknownTitle: \"We could not confirm the result\",\n  caseworkRefusedTitle: \"This action could not be completed\",\n  sourceProfileRequired:\n    \"This account is not set up to review requests here. Ask whoever manages accounts for this service to set it up.\",\n  unavailable: \"This is unavailable\",\n  unavailableBody:\n    \"It may have been removed, or you may not have access to it.\",\n  staleTitle: \"This changed before the action completed\",\n  staleBody: \"Reload the page to see what changed, then try again.\",\n  actionUnavailableTitle: \"This action is not available for this record now\",\n  actionUnavailableBody: \"Reload the page to see the current state of the record.\",\n  conflictTitle: \"This conflicts with the current record\",\n  conflictBody: \"This action is no longer available. The request has moved on.\",\n  valuesConflictTitle: \"The registry did not accept these values\",\n  valuesConflictBody:\n    \"They clash with a record or rule already in place. Check the values and try again.\",\n  invalidTitle: \"Check your answers\",\n  invalidBody:\n    \"The registry could not accept these values. Check them and try again.\",\n  refusedTitle: \"This action is not available here\",\n  refusedBody: \"Reload the page to see its current state.\",\n  registryRefusedTitle: \"The registry did not accept this\",\n  outsideBoundaryBody:\n    \"You cannot create this record. It is outside the records you may change.\",\n  contractChangedTitle: \"The service has changed since you signed in\",\n  contractChangedBody: \"Sign in again to pick up the change.\",\n  expiredTitle: \"Your session has ended\",\n  expiredBody: \"Sign in again to continue.\",\n  capacityTitle: \"The service is busy\",\n  capacityBody: \"Try again shortly.\",\n  receipt: \"Support reference\",\n  receiptLine: \"{label}: {value}\",\n  receiptHelp:\n    \"Quote this reference if you contact support about this problem.\",\n  retry: \"Try again\",\n\n  navMain: \"Main\",\n  skip: \"Skip to main content\",\n  brand: \"Registry\",\n  beta: \"BETA\",\n  signedInAs: \"Signed in as\",\n  staffName: \"Staff\",\n  serviceName: \"Service\",\n  offline:\n    \"You are offline. Some actions are unavailable until the connection returns.\",\n  footer: \"Registry\",\n  footerNote: \"Test service.\",\n  help: \"Help and support\",\n  staffEntryLink: \"Staff service\",\n  serviceEntryLink: \"Public service\",\n  signOut: \"Sign out\",\n  switchAccount: \"Switch account\",\n  language: \"Language\",\n  back: \"Back\",\n\n  introduction: \"Welcome\",\n  staffIntroduction: \"Welcome\",\n  introBody: \"Sign in to continue.\",\n  staffIntroBody: \"Sign in to continue.\",\n  introScope: \"\",\n  serviceAccess: \"Use the account linked to your records.\",\n  staffAccess: \"Use your authorized account.\",\n  signIn: \"Sign in\",\n  helpTitle: \"Help\",\n  helpBody: \"Contact support if you need help with this service.\",\n  helpReference:\n    \"Keep any support reference you were given; it helps us find your request.\",\n  helpRecovery:\n    \"If a submission's result is unclear, do not repeat it as a new request. Use the retry offered on that request instead.\",\n  loginFailureTitle: \"We could not complete sign-in\",\n  loginUnmapped: \"Your account is not recognized by this service.\",\n  loginExpired: \"Your sign-in took too long and has expired. Sign in again.\",\n  loginAccess: \"You do not have access to this service.\",\n  loginUnavailable: \"Sign-in is temporarily unavailable.\",\n  recoveryTitle: \"A previous submission needs checking\",\n  previousContextBody:\n    \"You have an earlier submission whose result was not confirmed.\",\n};\n\nexport function useShellContent(): ShellContent {\n  return useContentArea(\"shell\", shellContent);\n}\n",
      "type": "registry:block",
      "target": "@components/shell/shell-content.tsx"
    }
  ],
  "type": "registry:block"
}